Page 4 of 12

Function InputWindow()

Posted: Wed Dec 31, 2014 11:20 am
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 4320 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 !

Function InputWindow()

Posted: Wed Dec 31, 2014 3:02 pm
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 4305 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

Function InputWindow()

Posted: Thu Jan 01, 2015 11:41 am
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 4267 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 4253 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

Re: Function InputWindow()

Posted: Thu Jan 01, 2015 12:38 pm
by mol
Thanks for this new year gift!

Re: Function InputWindow()

Posted: Thu Jan 01, 2015 2:01 pm
by Rathinagiri
Very nice one Pablo.

Function InputWindow()

Posted: Thu Jan 01, 2015 4:48 pm
by Pablo César
mol wrote:Thanks for this new year gift!
Yes, early at year ! :)

Thank you Rathi !

Re: Function InputWindow()

Posted: Thu Jan 01, 2015 7:20 pm
by Steed
Thanks, happy new year

Function InputWindow()

Posted: Thu Jan 01, 2015 7:51 pm
by Pablo César
You're welcome, Ed !

Function InputWindow()

Posted: Thu Jan 01, 2015 9:05 pm
by Pablo César
There is more one example using InputWindow: here (HMG Versions installed)

Here is using a LABEL as control in InputWindow.

Re: Function InputWindow()

Posted: Sat Jan 17, 2015 7:15 pm
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.