User Profile

Collapse

Profile Sidebar

Collapse
morrisp
morrisp
Last Activity: Nov 11 '07, 04:06 AM
Joined: Nov 10 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • morrisp
    replied to Find Control without For each loop
    aaahhhh ..... very close. But, I notice that 'Parent' is valid option after the control, but 'Child' is not. Does this mean it's a one way link and I cannot go from 'Text Box' to 'Label' control?

    =Paul
    See more | Go to post

    Leave a comment:


  • morrisp
    replied to Find Control without For each loop
    To be more specific .... I want to change the value in a Label's caption property when a scenario occurs to the attached 'Text Box' control. How can I do this without using a "For Each Loop" to find the label control? There is an obvious link between Label and Text Box controls (the two are created together). But, how to take advantage of the link in code is escaping me.

    =Paul...
    See more | Go to post

    Leave a comment:


  • morrisp
    started a topic Find Control without For each loop

    Find Control without For each loop

    Newbi here,
    How do I find a specific form control without using a For Each loop? While the loop works to find a control, it seems to have overhead I'm trying to avoid. I'm using A2K.

    Here's the code I'm trying to avoid. There must be another way to find a control.
    Code:
    Dim ctl as Control
    For each ctl in Me
      do this and that
    Next ctl
    Thanks in advance,
    =Paul
    See more | Go to post
    Last edited by NeoPa; Nov 13 '07, 12:12 AM. Reason: Please use [CODE] tags
No activity results to display
Show More
Working...