In general you should still have a .res file entry for any VGUI2 panels you contruct (and perhaps make them not visible by default). If that isn't viable then you have two options. You could derive from label and expose the SetWrap() function as public (easier to maintain when we drop updates) or you could just edit label.h directly and make SetWrap() a public function.
- Alfred ----Original Message---- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kamran Sent: Wednesday, August 10, 2005 3:29 PM To: HLCoders Subject: [hlcoders] Wrapping text in a label > I know it is possible to wrap text in a label by doing "wrap" "1" in > the Res file... but for created controls within the code, for a > dynamic label (text changes), is there a way to wrap it then? _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

