method to building a screen with many objects
Re: method to building a screen with many objects
Maxz, look at the "TABMERGE.PRG" in "..\Samples\TabPage" of your eXpress++-installation!
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Re: method to building a screen with many objects
Have you tried this?
Code: Select all
DCGETOPTIONS ;
BUSYMESSAGE 'Building Screen Objects. Please wait..' COLOR GRA_CLR_DARKGREEN
The eXpress train is coming - and it has more cars.
Re: method to building a screen with many objects
yes Roger,
i've tried BUSYMESSAGE option but I don't really like it because the progress bar (I think it's a thread) is positioned centrally on the screen and is untied from the window where the screen is composed
I would prefer to check the construction of the screen trying to optimize the speed and maintaining the similarity with other windows applications
I would like to explore Tom's suggestion ...
i've tried BUSYMESSAGE option but I don't really like it because the progress bar (I think it's a thread) is positioned centrally on the screen and is untied from the window where the screen is composed
I would prefer to check the construction of the screen trying to optimize the speed and maintaining the similarity with other windows applications
I would like to explore Tom's suggestion ...
Re: method to building a screen with many objects
Roger replaced the DC_MergeGetLists()-concept (which is still alive) with the MERGECHILDREN clause some years ago. Look at the sample!
This is how I use(d) DC_MergGetLists:
This is how I use(d) DC_MergGetLists:
Code: Select all
@ 0,0 DCTABPAGE oTab ... GOTFOCUS {||IF(!lShowTab,lShowTab := ShowTab(oTab,GetList,oDialog),NIL)}
... somewhere else:
FUNCTION ShowTab(oOwner,aGetList,oDialog)
LOCAL Getlist := {}
... build parts
DCREAD GUI SAVE PARENT oOwner
DC_MergeGetLists(oGetList,GetList)
RETURN .T.
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
-
- Posts: 484
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
Re: method to building a screen with many objects
Hello,
take a look at the XDEMO program from Roger, samples 5, MergeGetlist2.
It shows the building of tabpages and the elements on demand.
take a look at the XDEMO program from Roger, samples 5, MergeGetlist2.
It shows the building of tabpages and the elements on demand.
_______________________
Best Regards
Wolfgang
Best Regards
Wolfgang
Re: method to building a screen with many objects
My shortened code showed almost the same.It shows the building of tabpages and the elements on demand.
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
-
- Posts: 484
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
Re: method to building a screen with many objects
Sorry Tom, i did not realize your sample.
_______________________
Best Regards
Wolfgang
Best Regards
Wolfgang