Microsoft
Software
Hardware
Network
Question : VB 2008 - Programmatically updating controls from an array
I have a user control that includes a collection of oval-shape controls. I want to update the fill color based on the content of an array of structure variables. I need a way to programmatically select the right oval-shape control based on it's name. Something like this (but works!)...
For x = 1 to 10
Control.Name("Well_A" & x).FillColor = array(x).groupcolor
Next x
Thanks for your help.
Answer : VB 2008 - Programmatically updating controls from an array
Yeah...if they were normal controls then the approach you originally posted (and Paul_Harris_Fusion tried to extend) would have worked.
Unfortunately, though, the ShapeControls are an oddity!... =O
Random Solutions
UltraTree and Filtering ?
Update Panel not loading DropDown
CA etrust Threat Management
Using 3rd Party SSL to Setup Exhange 2007, Outlook 2007, Server 2003 with Terminal Services
'SettingsSingleFileGenerat
or' 'ResXFileCodeGenerator' problem
Any best tool to copy users profile during server/domain migration ?
added shortcut to Public Desktop but some users not getting it - Win 2008 R2 Terminal Server
I need a help to make a small project with autocomplete functions
Auto fill user name in "Login" field
Colour highlighted search in vi