Select a Tab in Register

G

Gina

Hi all.

I try to select either page 0 or page 1 of a register in a form according
to a bool value blTmp

If blTmp Then
Form_frmCustomer.RegisterAddress.Pages(1).PageIndex = 0
Else
Form_frmCustomer.RegisterAddress.Pages(0).PageIndex = 0
End If

.... this does something but not the right thing ......

maybe someone can tell me what I am doing wrong here ???

Thanks in advance !!

Gina
 
Top