Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / label font face?

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. label font face?
#2976
Posted by: mooncake 2003-11-25 18:47:34
Hi,
    Does anyone know how to set wxStaticText and textbox font face to defined one(for example, font family=arial, face=bold)?

how to set focus on textbox?

Thank you.



Post Edited (11-25-03 18:48)
Meow~
Message2. Re: label font face?
#2994
Posted by: upCASE 2003-11-27 01:11:03
Hi!
Since wxStaticBox and wxTextCtrl are derived from wxWindow, use wxWindow::SetFont() and wxWindow::SetFocus() :)

upcase
upCASE
-----------------------------------
If it was hard to write, it should be hard to read!- Do. Or do not. There is no try!
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Sat 2023-2-4  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0