Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Listbox Popup Menu

Status
Not open for further replies.

pcgenie

Technical User
Dec 11, 2003
15
US
I'm creating a shortcut menu to popup over my richtext box. Its a form with a listbox of menu items with associated richtext activex (rtf) editing commands. I found a way to transfer a value from the popup menu to the form, but now I have one more step to take. The value being transferred is a public function from a module. I need to find a way to execute the function to edit the text in the richtext field. Download the test database from and please let me know if this is possible.

Thanks,
PC
 
I can think of several approaches that I would try. The first might be to have the popup place the name of the function into a public property of the form, then use the Eval function to execute that function.

Good Luck
--------------
As a circle of light increases so does the circumference of darkness around it. - Albert Einstein
 
Thank you, CajunCenturion

I'm not a proficient programmer. If you are able to download my test db, you'll see that I've transferred the value from the popup menu to a unbound field on the main form. Is there a way that I can use the value from that field or do I have to use some other method to transfer the value to a string and use the Eval function? Is it just a few lines of code?

Thanks,
PC
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top