Beijer Electronics (formerly QSI Corporation)

Manufacturer of Mobile Data and Human Machine Interface Terminals.
It is currently Tue Nov 21, 2017 3:58 pm

All times are UTC - 7 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Dynamically Add Controls
PostPosted: Fri Apr 01, 2011 10:49 am 
Offline

Joined: Fri Apr 01, 2011 10:38 am
Posts: 2
Is it possible, via script or another method, to dynamically add controls (labels, buttons, etc.) to a screen when the screen loads on the target device?

I appear to be able to add a screen via script, and then show it either as a dialog or regular screen, but I haven't been able to add any controls to the new screen. For that matter, I don't seem to be able to change properties of the new screen, such as .BackColor.

Code:
Neo.ApplicationFramework.Controls.Controls.Form frmNew = new            Neo.ApplicationFramework.Controls.Controls.Form();

frmNew.Show();



Running iX Developer QSI, version 1.20 SP2 Build 1.22.12.0

_________________
Running iX Developer QSI, Version 1.20 SP2, Build 1.22.12.0


Top
 Profile  
 
PostPosted: Thu Apr 07, 2011 8:46 am 
Offline
User avatar

Joined: Thu Mar 02, 2006 2:12 pm
Posts: 487
Location: Salt Lake City, Utah
Dan,

I'm not aware of a way to dynamically add the iX Developer controls. I will run this by the developers and see if they have any comments.

When I've wanted to dynamically change the color of a screen, I've used a "Rectangle" control and set it to be behind all the other objects.

_________________
Ron L.

http://www.beijerelectronicsinc.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours


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
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group