Re: Accessing control in indexed mode

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



In VS 2002 and 2003, there is no designer support for that, but you can
easily create your own array of controls.

"H.B." <HB@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:363FE4EA-784F-4A68-B25C-9FB8A63A6A8F@xxxxxxxxxxxxxxxx
Is it possible, in Managed C++, to name/access visual controls an indexed
way
like VB 6.0

Thanks,

Hugo


.



Relevant Pages

  • Re: Array indexes
    ... Of course I can't change indexes of an array, ... I need to be able to add and remove these labels to the form (as far as ... Like say you start with 5 controls, at which point the controls in the array ... For I = Removedlabel To NoOfLabels ...
    (microsoft.public.vb.controls)
  • Re: Run Time Creating Controls
    ... There's no need to delete unused controls in the array - just set them to not visible and adjust the .top of any array elements that are lower in the 'stack'. ... The main picMain is resized to accomodate the new picIndWin. ...
    (microsoft.public.vb.general.discussion)
  • Re: Create, edit file list?
    ... > instead of using separate names for each individual instance, ... > Likewise, because controls have events, instead of each individual ... > raising its own event (for Click, MouseDown, etc.) only one of each type ... > event is raised for any of those in the array, ...
    (microsoft.public.vb.general.discussion)
  • Re: Programatically design a form
    ... a Form designer in this sense. ... I don't want to have to drag controls ... Instead I want to automate with a predefined array of data. ... from Excel, ...
    (microsoft.public.vb.general.discussion)
  • Re: Programatically design a form
    ... >> Are you writing some sort of Form designer? ... Instead I want to automate with a predefined array of data. ... and add controls to form. ... so really all you have to do is translate your Excel spreadsheet ...
    (microsoft.public.vb.general.discussion)