MrSpacely Posted May 31, 2005 Posted May 31, 2005 I am trying to find out how to put multiple fonts definitions in one edit or label control. The normal update function updates the whole control. In short how to format text within one control. I haven't found it in the manual does anyone know a way?
jpm Posted May 31, 2005 Posted May 31, 2005 all AutoIt GUI function can create control with only one font. THe Rich text control is not supported.
therks Posted May 31, 2005 Posted May 31, 2005 (edited) You can't. Sorry. You'd need a rich edit control, and there's currently no support for that. *Edit: Damn you jp Edited May 31, 2005 by Saunders My AutoIt Stuff | My Github
MrSpacely Posted May 31, 2005 Author Posted May 31, 2005 You reacted at the same minute:lmao: Well to bad maybe I can find a other way. (maybe thru a dllcall) Thanks anyway
quaizywabbit Posted May 31, 2005 Posted May 31, 2005 probably better off trying to use the cwebpage.dll and embed a browser, which should allow multiple fonts......... [u]Do more with pre-existing apps![/u]ANYGUIv2.8
Groumphy Posted June 5, 2005 Posted June 5, 2005 (edited) Is not you there not average to deviate the functions principal ?? If I takes an example of GUI of CyberSlug, and that I deviate it towards controls : #include <GUIConstants.au3> GUICreate("My Gui", 200, 200, -1, -1) GUISetState(@SW_SHOW) Dim $gui_parent_control, $gui_child_control, $gui_child2_control $gui_parent_control = GUICtrlCreateLabel("", 10, 10, 180, 180) $gui_child_control = GUICtrlCreateLabel("My text", 15, 15, 50, 40, -1, $gui_parent_control) GUICtrlSetFont(-1, 9, 400, 4, "Tahoma") $gui_child_control = GUICtrlCreateLabel("My second text", 80, 15, 100, 100, -1, $gui_parent_control) GUICtrlSetFont(-1, 14, 600, 2, "Comic sans MS") While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop Wend Unfortunately that does not function [correctly] (I am newbie on inclusion, sorry). Could that by taking example there above function ? (with modification with the Style & Parent ?!) Edited June 5, 2005 by Groumphy ----------------------GroumphyMore information about me [Fr]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now