HMG 2.8.3 (Forum Test)
Moderator: Rathinagiri
Re: HMG 2.8.3 (Forum Test)
I'm using GRID in my last function, and I'm wonder how to declare some columns as READ-ONLY and some editable. Is it possible???
Maybe hmg 2.8.4
Marek
Maybe hmg 2.8.4
Marek
Re: HMG 2.8.3 (Forum Test)
Algo estoy haciendo mal, ya que la propiedad VALUE me trae el valor de la FILA (row), por ejemplo:esgici wrote: Please open .rar file on a clean ( not applied privious patch) version 2.81.
Esgici
Esto Muestra el valor de la fila
cValue := this.value
Form_1.StatusBar.Item(1) := LTRIM( STR( cValue ) ) ====> 1 ó 2 ó 3 ó la fila que esté parado
Esto me dá error de 'array access'
aValue := this.value
Form_1.StatusBar.Item(1) := LTRIM( STR( aValue[1] ) )
Yo instalé 2.7.2, luego 2.8.1 y ejecuté MAKEHMG.BAT, luego 2.8.3.
Saludos, Fernando Chirico.
Re: HMG 2.8.3 (Forum Test)
Set Language to Englishesgici wrote:Hi Everyone
Where are you
As developers you know best, value and importance of "second hand" testing.
Why you don't participate test works
Ahoy !
Sudip, Luis Vasquez, Mol (Marek), Alex Gustow, CCH, Fernando Chirico, jrendon, Angel Pais
Where are you
Regards
--
Esgici
Hello I am here I try and do today what about sending response
Set Language to Spanish
Hola estoy aqui hoy lo pruebo y hago unos ejemplos envio respuesta
Juan Rendon
Re: HMG 2.8.3 (Forum Test)
Hello Marek,
I learned this when I created 1 to Many form project.
With best regards.
Sudip
IMHO, COLUMNWHEN {bWhen1,bWhen2,...bWhenN} will be helpful regarding Grid.mol wrote:how to declare some columns as READ-ONLY and some editable. Is it possible???
Maybe hmg 2.8.4
I learned this when I created 1 to Many form project.
With best regards.
Sudip
With best regards,
Sudip
Sudip
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: HMG 2.8.3 (Forum Test)
fchirico wrote: Algo estoy haciendo mal, ya que la propiedad VALUE me trae el valor de la FILA (row), por ejemplo:
Yo instalé 2.7.2, luego 2.8.1 y ejecuté MAKEHMG.BAT, luego 2.8.3.
Hola FernandoGoogle wrote:I'm doing something wrong, because the Value property brings the value of the row (row), for example:
I installed 2.7.2, 2.8.1 and then ran MAKEHMG.BAT then 2.8.3.
Before run MAKEHMG.BAT, you have open hmg283.rar on c:\hmg by "overwrite" option.
Saludos
--
Esgici
Viva INTERNATIONAL HMG
- Roberto Lopez
- HMG Founder
- Posts: 4004
- Joined: Wed Jul 30, 2008 6:43 pm
About 2.8.3 and Esgici Sample...
Hi All,
As Grigory advised me, there is a problem with Esgici sample the I've not noticed and screwed up my tests.
When you interactively change the selected cell, the 'OnChange' event of the grid, changes the values of spinners.
Spinners has its own 'OnChange' events that programmatically changes the selection of the grid again to its current values already changed interactively by the users...
The result is that Grid 'OnChange' event is fired multiple times and the sample is not working as expected.
I guess I've got a headache...
What is the status of the 2.8.3.
Well... The only problem with the current version is that 'OnChange' is executed twice when you change the row and column (both) with the mouse.
Apparently I'm loosing my 'touch'
I'll work on it.
Regards,
Roberto.
As Grigory advised me, there is a problem with Esgici sample the I've not noticed and screwed up my tests.
When you interactively change the selected cell, the 'OnChange' event of the grid, changes the values of spinners.
Spinners has its own 'OnChange' events that programmatically changes the selection of the grid again to its current values already changed interactively by the users...
The result is that Grid 'OnChange' event is fired multiple times and the sample is not working as expected.
I guess I've got a headache...
What is the status of the 2.8.3.
Well... The only problem with the current version is that 'OnChange' is executed twice when you change the row and column (both) with the mouse.
Apparently I'm loosing my 'touch'
I'll work on it.
Regards,
Roberto.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: About 2.8.3 and Esgici Sample...
Any comment about "spinnerless" version of my guilty example ( GridTst2 ) ?Roberto Lopez wrote:Hi All,
... problem with Esgici sample the I've not noticed and screwed up my tests.
Best Regards
--
Esgici
Viva INTERNATIONAL HMG
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: About 2.8.3 and Esgici Sample...
Sorry, I couldn't understand this theoryRoberto Lopez wrote: Spinners has its own 'OnChange' events that programmatically changes the selection of the grid again to its current values already changed interactively by the users...
The result is that Grid 'OnChange' event is fired multiple times and the sample is not working as expected.
Let look at this verbose animation :
User : You GRID, set your value to { x, y }
GRID : Ok, setted; you SPNR, my value changed to { x, y }
SPNR : Ok, me too setted; you GRID, my value changed to { x, y }
GRID : Ok, me too setted; you SPNR, my value changed to { x, y }
...
If events goes this way this is clearly an endless loop !
Whereas we haven't any signal about such loop; cursor in its own place, don't disappear; prg accept and responds subsequent user inputs.
IMHO events goes that way :
User : You GRID, set your value to { x, y }
GRID : Ok, setted; you SPNR, my value changed to { x, y }
SPNR : Ok, me too setted; you GRID, my value changed to { x, y }
GRID : Opps, my value is already that; no CHANGE made, so no signal required to SPNR !!!
or
GRID : Ok, me too setted; Does my value changed ?; No. So no signal required to SPNR !!!
I'm not an expert of Win32. Sorry, If I'm wrong.
Regards
--
Esgici
Viva INTERNATIONAL HMG
- Roberto Lopez
- HMG Founder
- Posts: 4004
- Joined: Wed Jul 30, 2008 6:43 pm
Re: About 2.8.3 and Esgici Sample...
I'm focused now on resolve the double OnChange execution when you change row and col with mouse click (AFAIK the only issue until now).esgici wrote:Sorry, I couldn't understand this theoryRoberto Lopez wrote: Spinners has its own 'OnChange' events that programmatically changes the selection of the grid again to its current values already changed interactively by the users...
The result is that Grid 'OnChange' event is fired multiple times and the sample is not working as expected.
Let look at this verbose animation :
User : You GRID, set your value to { x, y }
GRID : Ok, setted; you SPNR, my value changed to { x, y }
SPNR : Ok, me too setted; you GRID, my value changed to { x, y }
GRID : Ok, me too setted; you SPNR, my value changed to { x, y }
...
If events goes this way this is clearly an endless loop !
Whereas we haven't any signal about such loop; cursor in its own place, don't disappear; prg accept and responds subsequent user inputs.
IMHO events goes that way :
User : You GRID, set your value to { x, y }
GRID : Ok, setted; you SPNR, my value changed to { x, y }
SPNR : Ok, me too setted; you GRID, my value changed to { x, y }
GRID : Opps, my value is already that; no CHANGE made, so no signal required to SPNR !!!
or
GRID : Ok, me too setted; Does my value changed ?; No. So no signal required to SPNR !!!
I'm not an expert of Win32. Sorry, If I'm wrong.
Regards
--
Esgici
In general, MiniGUI library inherits the WIN32 behavior about changes in controls.
The notifications usually come in the form of WM_NOTIFY messages. Older controls could receive a notification as a WM_COMMAND message.
Once received one of that you must do some 'fine tune' to find what exactly is happening.
The circumstances in which Windows sends to your app a change notification can be very different from one control to another.
Again: Excepting some cases, HMG inherits WIN32 behavior about notifications.
Please, take a look at MSDN WIN32 reference.
Regards,
Roberto.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)