Re: Function InputWindow()
Posted: Mon Mar 09, 2015 4:32 pm
Also, pressing Esc key could be taken as 'Cancel'
Exclusive forum for HMG, a Free / Open Source xBase WIN32/64 Bits / GUI Development System
http://mail.hmgforum.com/
It would be a problem because InputWindow already have an array parameter for HotKeys.Rathinagiri wrote:Also, pressing Esc key could be taken as 'Cancel'
Remember that all these parameters listed here for InputWindow to Grids, are optional, not mandatory.abHotKey:={ { 0, VK_ESCAPE, {|| ThisWindow.Release() } }
ON DBLCLICK MyReplace(InputWindow(<cParentWindowName>,<cControlName>,<anWidths>,abHotKey))
or this:
ON DBLCLICK MyReplace(InputWindow(,,,abHotKey))
There are three alignment types for grids:Rathinagiri wrote:Also, you can get the column justification definition using _HMG_SYSDATA [ 37 ] [nIdx] You can right align the textboxes wherever required.
Just for clarifying about right alignment in DatePickers.Pablo César wrote:For TextBoxes and also DatePickers, right and left alignments are no problem.
If would it be required, TextBoxes should it have a new style option: ES_CENTERRathinagiri wrote:Center justification is not required, I think.
I've alredy implemented yesterday.Only right align is enough.
I've done by 4th and tell you why. Some parameters in IputWIndow when used to Grids are not useable ones.Regarding aHotKeys, it is better to keep in 9th place
Ok, I'll add this checking by default, good idea !..if omitted, by default, pressing Esc shall cancel the grid edit
Rathi let me know one thing. What's your opinion about hidden control in InputWindow in these cases ?Rathinagiri wrote:I use columnwidth as 0 for hidden columns (for example, we can hide the itemcode from the user).