making buttons appear after fields have changed

  • Thread starter Thread starter smpil
  • Start date Start date
S

smpil

hey,
anyone know how to make buttons appear on a form automatically as the
are entered into a field in a table.

the field represents projects.. and i need buttons to automatically b
placed on a form (spaced out correctly) as soon as the data is inputte
into the form.

many thanks!
stephe
 
Create the buttons in advance and make them Hidden. Then unhide them in
AfterUpdate event of the field that is supposed to show the buttons.

Pavel
 
i need the buttons to appear with the text from the field that has jus
been created on them.

so, for example if a user enters television in the media field, then
button called television appears on the form.

thanks
smpi
 
Use the textbox AfterUpdate event to unhide the button, and change its
caption property to the value in the textbox:

me.myButton.caption = me.myTextbox
me.myButton.visible = true

substitute your names for the example.

--
Regards,

Adrian Jansen
J & K MicroSystems
Microcomputer solutions for industrial control
 
Back
Top