Which is exactly the problem?Czarny_Pijar wrote:Bad news... With HMG ver.3.034 this happend againesgici wrote:Hi JALMAGJALMAG wrote: Hello Esgici, what compiling?
Sorry for inconvenience
My project became old
Grid - Changing the sort order on a column heading click
Moderator: Rathinagiri
- Roberto Lopez
- HMG Founder
- Posts: 4023
- Joined: Wed Jul 30, 2008 6:43 pm
Re: Grid - Changing the sort order on a column heading click
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: Grid - Changing the sort order on a column heading click
Hi Czarny,Czarny_Pijar wrote: Bad news... With HMG ver.3.034 this happend again
What is happened ?
Please more specific
Regards
--
Esgici
Viva INTERNATIONAL HMG 
- Czarny_Pijar
- Posts: 172
- Joined: Thu Mar 18, 2010 11:31 pm
- Location: 19.2341 E 50.2267 N
Re: Grid - Changing the sort order on a column heading click
The construction "window in the window" is forbiden now, the compilation error occurs.
( frmAbout inside frmMiniAgenda )
Despite this "SoftSeek" and "ColumnSort" (the gems of this demo) works excellent
( frmAbout inside frmMiniAgenda )
Despite this "SoftSeek" and "ColumnSort" (the gems of this demo) works excellent
- Attachments
-
- window_in_the_window_error.PNG (10.54 KiB) Viewed 3846 times
- Roberto Lopez
- HMG Founder
- Posts: 4023
- Joined: Wed Jul 30, 2008 6:43 pm
Re: Grid - Changing the sort order on a column heading click
Could you be so kind to post the sources giving this error?Czarny_Pijar wrote:The construction "window in the window" is forbiden now, the compilation error occurs.
( frmAbout inside frmMiniAgenda )
Despite this "SoftSeek" and "ColumnSort" (the gems of this demo) works excellent
TIA.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- Czarny_Pijar
- Posts: 172
- Joined: Thu Mar 18, 2010 11:31 pm
- Location: 19.2341 E 50.2267 N
Re: Grid - Changing the sort order on a column heading click
The code was taken directly from the kind contribution of esgici (located in this topic):
alongside with his corrections:
esgici wrote:Hi JALMAG
Sorry for inconvenience
My project became old
- rename MAgenda.Hpj to MAgenda.Hbp
- open this .hbp with HMG-IDE
- add C:\hmg\HFCL\Include to Include paths of configuration tab of Project Browser
- add hfcl to additional libs of configuration tab of Project Browser
and press RUN button
Esgici
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Grid - Changing the sort order on a column heading click
Hi
This is a problem arise after PANEL type windows introduced.
Simply change WINDOW TYPE as MODAL from CHILD.
This is corrected code snap beginning with line 159 in MAgenda.prg.
Regards
--
Esgici
This is a problem arise after PANEL type windows introduced.
Simply change WINDOW TYPE as MODAL from CHILD.
This is corrected code snap beginning with line 159 in MAgenda.prg.
Code: Select all
DEFINE WINDOW frmAbout ;
AT 0, 0 ;
WIDTH 320 ;
HEIGHT 300 ;
MODAL ;
NOSIZE ;
NOCAPTION
--
Esgici
Viva INTERNATIONAL HMG 
- Roberto Lopez
- HMG Founder
- Posts: 4023
- Joined: Wed Jul 30, 2008 6:43 pm
Re: Grid - Changing the sort order on a column heading click
Ok.Czarny_Pijar wrote:The code was taken directly from the kind contribution of esgici (located in this topic):
Nested window definitions were never supported (it just worked in some occasion if you tried).
When I've added panel windows, I've put in place a proper validation that generates the error.
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: Grid - Changing the sort order on a column heading click
Well, no nested window definition included version of Mini Agenda attached.Roberto Lopez wrote:
Nested window definitions were never supported (it just worked in some occasion if you tried).
Enjoy !
Regards
--
Esgici
PS: Please don't forget adding "hfcl" infos to "configuration" page or build script.
Viva INTERNATIONAL HMG 