It is currently Wed Jul 18, 2018 5:59 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: HideGadget Problem solution
PostPosted: Mon Dec 30, 2013 1:36 pm 
Offline
User
User
User avatar

Joined: Fri Dec 28, 2012 11:23 pm
Posts: 14
Location: Center Germany
Gnozal,

I use PureForm for a longer time. Maybe I found a bug.
I designed a window which contains several container at the same position.
I enable/disable these by HideGadget() command which is working fine.

BUT..

I faced the problem that I could not acces to Option Gadgets, string Gadgets, Button Gadgets or any other active Gadgets. It took me some days to find out what happened. At last I found it.
Although I used button "HIDE" during designing at PureForm the command HideGadget(#Gadget,1) was missing in Source. Due to this fact there was an yet empty container above the one I want to use and I had no access.
Code:
ContainerGadget(#Container_01,0,0,100,100)
    HideGadget(#Container_01,1)     ;<--  This line is missing
    .
    .
CloseGadgetList()


I think whenever I hide a Gadget I don't want to see it in the window in the moment. Even if I am in designing phase.
Following WYSIWYG designing with PureForm, HideGadget command should be included in Source Code whenever I hide a gadget.

Your comments are welcomed.
Updateing Program, if you agree, as well.
It saves time after every modification of one window Item to rewrite complete source by adding HideGadget command manually.

Happy new Year to you everyone here in this Forum

menschmarkus

[edit 30.12.2013]

In the moment I use "Code infusion" which works fine.
Hopefully I do not forget to write this extra code for additional container :wink:

menschmarkus

_________________
As soon you do it right, it works !


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye