Function InputWindow()

Creative ideas/suggestions for HMG

Moderator: Rathinagiri

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Function InputWindow()

Post by Pablo César »

Hi all,

I think its already finished with improvements (at least for this year) :lol:
Screen4.png
Screen4.png (192.2 KiB) Viewed 4318 times
ChangeLog:
Inconsistencies check routine in arrays has been added.
New properties for the Grid inserted into the function (My_UDF) Demo.
New visualization of the results fit with MsgDebug2.
New on release function, to reset all hotkeys and remove any event.

<Code source files were removed because there is a updated version ahead of this topic>

I hope you enjoy !
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Function InputWindow()

Post by Pablo César »

Pablo César wrote:I think its already finished with improvements (at least for this year)
Not yet ! At least for us southern americans, not finished yet the 2014... :)

I added a PASSWORD item (in TextBox), as it has required Fernando in this post.
Screen4.png
Screen4.png (259.73 KiB) Viewed 4303 times
It was made thru the aFormats parameter containing the PASSWORD and aValues could be assigned any string or empty one.

In this requirement at WishList, I hope to find a canonical way to switch common/password modes at TextBoxes.

<Code source files were removed because there is a updated version ahead of this topic>

Happy new year ! :D
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Function InputWindow()

Post by Pablo César »

Hi all, happy new year !

Keeping the retrocompatibility with InputWindow.

I saw that was not in use character values and with Nil format, so I decided to add more one option:
LABELs as control (at right side of screen).

This would it be useful when we need to write just something or even separate control saying something.
Screen4.png
Screen4.png (307.83 KiB) Viewed 4265 times
This label (as control at right side of screen) will start at where another label has stopped. With this it will be easy for pairing between it (like as it were concatenated). So by this reason Labels (as control at right side of screen) would start with spaces if you want to be separated with other label. Another idea, is to let empty the first label (here ilustrated as "Field 10 (Label)") then only the label (here in red color) will be displayed.
Screen3.png
Screen3.png (7.74 KiB) Viewed 4251 times
I would like to receive any comment if something let without functionality or if there is any other difficulties. Remembering this InputWindow is a practical tool for a simple editions.
demo3 (Executable file).rar
(1.06 MiB) Downloaded 302 times
demo3 (Source files).rar
(6.59 KiB) Downloaded 335 times
I hope you enjoy ! :D
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Function InputWindow()

Post by Rathinagiri »

Very nice one Pablo.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Function InputWindow()

Post by Pablo César »

mol wrote:Thanks for this new year gift!
Yes, early at year ! :)

Thank you Rathi !
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Steed
Posts: 427
Joined: Sat Dec 12, 2009 3:40 pm

Re: Function InputWindow()

Post by Steed »

Thanks, happy new year
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Function InputWindow()

Post by Pablo César »

You're welcome, Ed !
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Function InputWindow()

Post by Pablo César »

There is more one example using InputWindow: here (HMG Versions installed)

Here is using a LABEL as control in InputWindow.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Function InputWindow()

Post by Rathinagiri »

This is nice one. IMHO it can be used as an alternative to in-place-edit feature of Grid.

When an user double clicks/presses enter key, an InputWindow shall be opened and the grid data can be updated according to the InputWindow data. Initial data/label can be got from headers, widths, columncontrols, columnvalid, columnwhen etc.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
Post Reply