Problems adding Panel Gadget Item

Just starting out? Need help? Post your questions and find answers here.
Pupil
Enthusiast
Enthusiast
Posts: 715
Joined: Fri Apr 25, 2003 3:56 pm

Post by Pupil »

I would suggest some other method for doing whatever you're trying to do! If i saw 500 tabs in an app i would close it down and never open it again!
Maybe just store the values that should be in each gadget in an array, and chose current item from a list and update a fixed set of gadgets with the data from the array on-the-fly?
cecilcheah
Enthusiast
Enthusiast
Posts: 168
Joined: Wed Jun 04, 2003 8:44 am
Location: Switzerland

Post by cecilcheah »

It is not the problem of having Tabs, it is the problem of the sum of all Gadget objects in all the tabs as this will break the 10,000 barriers. I can have 500 tabs, but then run out of Gadget numbers on adding #Gadget.

I am already trying the 2nd approach. And also instead of a panel. I will have a Directory tree approach instead of Panel tabs as the objects have a hierarchy structure. This means i can store all the objects in Array as well. Show and hide the sub-hirearchy objects etc.

Another question arises is how do i save the Strucutre Informations on exit. I do not want to save it as text file, but more in a file that cannot be read by user. Like when you save a commercial game, you can only open it by hex editor, otherwise you cannot read it directly. Or like how Visual Designer save a Project file.

Or at least tell me where i should find this Info in the Help file.

Cecil
Post Reply