Bring to front

  • Thread starter Thread starter Chris
  • Start date Start date
C

Chris

Using VBA, is there a command to bring a line control to the front
programmatically?

The line cannot be merely set to front via Bring to Front for all instances,
there is occasional interference. VBA coding it to the front would be ideal.
 
Chris said:
Using VBA, is there a command to bring a line control to the front
programmatically?

The line cannot be merely set to front via Bring to Front for all instances,
there is occasional interference. VBA coding it to the front would be ideal.

Bring to Front/Send to Back are strictly design time
opreations.
 
You could use 2 lines and alternate their visible property. i.e. if you need
to see a line at the back or at the front depending on an event, then
superimpose 2 idetical lines over each other - one at the front and t'other
at the back, then alternate their visible properties:

me.line1.visible = me.line2.visible
me.line2.visible = not me.line1.visible

or something similar.

Cheers.

BW
 
Back
Top