I will check this. Is strange, IMHO should not. But let me see and I'll be back SAS.mol wrote:These functions were defined in InputWindow module, which is included in patch1 now!
HMG 3.4.0
Moderator: Rathinagiri
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Re: HMG 3.4.0
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Re: HMG 3.4.0
I've tried some time ago this module, but never used it. I forgot about it. I've deleted inputwindow.prg from my app's directory and now it's OK.
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
HMG 3.4.0
You mean you have removed in your code when was #include "InputWindow.prg" ?mol wrote:I've tried some time ago this module, but never used it. I forgot about it. I've deleted inputwindow.prg from my app's directory and now it's OK.
This will include your current InputWindow.prg and will cause these errors.
I have been used this #include "InputWindow.prg" in my demo, because it was needed an updated InputWindow.prg thru InputWindow2 function instead old HMG versions.
My_GetProperty function already exists at patched hmg 3.4.0 and is correct to be in HMG core as well. This function is responsable to get a width or height of header. I used in InputWindow, in this case, just to know which is the maximum width of column between header and cell containing.
_InplaceEditOpt function also is in the core too and used for simulating same behaviour of Grid EditOption settings.
This last version of InputWindow in the patch is much better conditioned to work in-place-edit feature of Grid.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Re: HMG 3.4.0
Yes, I've included your InputWindow.prg, but I didn't use it and I forgot about it.
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
HMG 3.4.0
Ahhh rozumiem. Dzięki za wyjaśnienie.mol wrote:Yes, I've included your InputWindow.prg, but I didn't use it and I forgot about it.
Now InputWindow is much improved and retrocompatible. So it would be forget (not use) old InputWindow.prg, that now was just for demo proposes.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Re: HMG 3.4.0
What a surprising clear Polish language!Pablo César wrote:Ahhh rozumiem. Dzięki za wyjaśnienie.
I know, but I had no time to learn it, I've decided to use my own old solutions.Pablo César wrote: Now InputWindow is much improved and retrocompatible. So it would be forget (not use) old InputWindow.prg, that now was just for demo proposes.
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
HMG 3.4.0
Google power...mol wrote:What a surprising clear Polish language!Pablo César wrote:Ahhh rozumiem. Dzięki za wyjaśnienie.
Marek, it's no difficult. You can use the same way you have done in the past and for Grids being trying as following ways:mol wrote:I know, but I had no time to learn it, I've decided to use my own old solutions.
- InputWindow() (without any parameter). It will detect by itself all grid properties.
- InputWindow(<cParentWindowName>,<cControlName>) (both parameters as regular character type variables).
- InputWindow(<cParentWindowName>,<cControlName>,<anWidths>) (two character variables and one numeric array). This array will contain the total of columns with its width's size of each.
- InputWindow(<cParentWindowName>,<cControlName>,<anWidths>,<aHotKeys>) (two character variables, one numeric array and one composite array). This last array could contains the all parameters for Hot Key.
For example:
abEscape:={ 0, VK_ESCAPE, {|| ThisWindow.Release() }
abF1:={ 0, VK_F1, {|| My_Help() }
ON DBLCLICK InputWindow(<cParentWindowName>,<cControlName>,<anWidths>,{abEscape,abF1})
or like this:
ON DBLCLICK InputWindow(,,,{abEscape, abF1}) - InputWindow(<cParentWindowName>,<cControlName>,<anWidths>,<aHotKeys>, nRow, nCol, aBackColor, aToolTips, aHotKeys, aStyles, bCode )
This is the complete parameter sequence. The aHotKeys and aStyles parameters will be overwritten for grids propose.
All these info it is documented at new hmgdoc (patched version) of C:\hmg.3.4.0\DOC.
In case you find any troubles, please post in this topic all your doubts I'll be glad to answer to anyone.
Last edited by Pablo César on Fri Jul 01, 2016 12:27 pm, edited 1 time in total.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Re: HMG 3.4.0
Where I can find final version of HMG.3.4.0 with all patch applied [32 and be Bit]
BPD
Convert Dream into Reality through HMG
Convert Dream into Reality through HMG
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: HMG 3.4.0
May this post will help to your request.bpd2000 wrote:Where I can find final version of HMG.3.4.0 with all patch applied [32 and be Bit]
Happy HMG'ing
Viva INTERNATIONAL HMG
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
HMG 3.4.0
Hi Dave,bpd2000 wrote:Where I can find final version of HMG.3.4.0 with all patch applied [32 and be Bit]
You are in the right topic for it. All patches when are released are being done always in the same topic of each HMG version release. You do not need to look out for it.
In this last HMG version (3.4.0) there is only one patch released and you will find at:
viewtopic.php?p=41353#p41353
Is it clear now ?
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein