ControlTipText in continous form

P

pburling

I have researched this and the response always seems to be "Leban's
Continuous Forms Current Row" example...and then people say simply set
the ControlTipText rather than the text box named txtcurrentrowdata.

I can't figure out how to do that.

Could someone simply take Leban's Code and modify it so the
txt.code.ControlTipText shows the data of the txt.code. I would really
appreciate it.

Thanks
Peter
 
P

pburling

I have researched this and the response always seems to be "Leban's
Continuous Forms Current Row" example...and then people say simply set
the ControlTipText rather than the text box named txtcurrentrowdata.

I can't figure out how to do that.

I tried
Set ConData.SetDisplayTextBoxCtl = Me.txt.Code.ControlTipText
and got an error message.
Could someone simply take Leban's Code and modify it so the
txt.code.ControlTipText shows the data of the txt.code. I would really
appreciate it.

Leban's Code :
Private Sub Form_Load()
' Declare a new instance of our class
Set ConData = New clsControlData
' You must set the Control you want to monitor
Set ConData.SetTextBoxCtl = Me.txtCode
' OPTIONAL Control to display the contents of the Control
Set ConData.SetDisplayTextBoxCtl = Me.txtCurrentRowData
' OPTIONAL Control to display the Current Row Number
Set ConData.SetRowNumTextBoxCtl = Me.txtCurRowNum
End Sub
 
P

pburling

I have researched this and the response always seems to be "Leban's
Continuous Forms Current Row" example...and then people say simply set
the ControlTipText rather than the text box named txtcurrentrowdata.

I can't figure out how to do that.

I tried
Set ConData.SetDisplayTextBoxCtl = Me.txt.Code.ControlTipText
and got an error message.
Could someone simply take Leban's Code and modify it so the
txt.code.ControlTipText shows the data of the txt.code. I would really
appreciate it.

Leban's Code :
Private Sub Form_Load()
' Declare a new instance of our class
Set ConData = New clsControlData
' You must set the Control you want to monitor
Set ConData.SetTextBoxCtl = Me.txtCode
' OPTIONAL Control to display the contents of the Control
Set ConData.SetDisplayTextBoxCtl = Me.txtCurrentRowData
' OPTIONAL Control to display the Current Row Number
Set ConData.SetRowNumTextBoxCtl = Me.txtCurRowNum
End Sub
 
S

Stephen Lebans

You cannot simply set the ControlTipText property. Form forms in continuous
view, the individual row TextBox controls are not addressable(except via
Conditional Formatting).
You would have to integrate the current sample you are working with into the
ToolTip class on my site. This would be an extensive modification but
relatively straightforward. I simply have never found the time to create the
required solution.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
P

pburling

Dear Stephen -
Thanks for getting back to me. Appreciated.
I am simply working with your "Continous Forms Current Row" database -
and will let you know if I incorporate the tool tips class into that
example.
Thanks again.
Peter
 
P

pburling

Stephen -
Could you give me a few more hints - kind of directives?
Thanks
I realise you are busy - Thanks for any help
Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top