Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3811

Dynamic Control Array - Is it worth it?

$
0
0

Hi from Wales, UK. My first time on the forum so bear with me. I’ve been learning Xojo over the last 12 months or so in readiness to completely rewrite our in-house EPOS system. I’ve solved most of the basic problems involved but would like some advice on one in particular.
I have one or more USB devices connected and have been manually adding the required qty of Serial Connection controls to the main window of the project. Current code all working fine but wondering if it’s worth using an array of controls (based on SerialConnection) which would be dynamically added at runtime based on the number of devices connected. The number would vary depending on the site concerned at the time although the absolute maximum would only be 3.
I’ve had a quick look at implementing this but not got very far- is it worth the extra effort and am I going to gain any ‘efficiency’ in the final project? Worse case is I have 3 SerialConnection controls but only use 1.
Hope that makes sense. Any advice appreciated, thanks

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 3811

Trending Articles