Move field on tabbed form (1 Viewer)

mafhobb

Registered User.
Local time
Yesterday, 20:13
Joined
Feb 28, 2006
Messages
1,245
If I have a field in a tabbed form (the form has pages), can this field be moved from a tab to another programatically?

The form is called "ProjectMain". The field is called "Lenght" and the page (form tab) it is on is "specs1". Sometimes I need to have this field in the page (form tab) "specs2"

mafhobb
 
Last edited:

brharrii

Registered User.
Local time
Yesterday, 18:13
Joined
May 15, 2012
Messages
272
You could put the field on both pages and then control which one is visible programatically (me!Field.Visibe = True/False)
 

mafhobb

Registered User.
Local time
Yesterday, 20:13
Joined
Feb 28, 2006
Messages
1,245
Better yet, how canI hide the tab entirely on form load?

mafhobb
 

mafhobb

Registered User.
Local time
Yesterday, 20:13
Joined
Feb 28, 2006
Messages
1,245
Got it.

Me.[Specs1].Visible = False

In the form's OnCurrent event. It does not work in the OnLoad event.

Thanks

Mafhobb
 

Users who are viewing this thread

Top Bottom