View Single Post
  #4 (permalink)  
Old 06-30-2008, 06:45 PM
agraham's Avatar
agraham agraham is offline
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,901
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Quote:
Originally Posted by MM2forever View Post
does this work with forms created with the FormExDesktop too?
It should do. Pass FormEx.ControlRef to SetFontStyle instead of the form name as a string.

Quote:
and how should creating the formlib object then?
Look in theFormExDemo app. That creates a FormLib on a donor form

"FormEx1.New1("Form1")"

and uses it on a FormEx to build the menus

"Formlib1.AddContextMenu(FormEx1.ControlRef, ContextMenu1.value)

Do a similar thing for SetFontStyle
Reply With Quote