[問題] c++ XE4 設定appearance後的問題

看板C_and_CPP (C/C++)作者 (公爵)時間12年前 (2013/11/08 14:53), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
開發平台(Platform): (Ex: VC++, GCC, Linux, ...) BCB XE4 問題(Question): 設定Aappearancec後 動態增加radiogroup的item 想讓radiobutton的字變色卻沒辦法 預期的正確結果(Expected Output): radiobutton的字變紅色 錯誤結果(Wrong Output): 程式碼(Code):(請善用置底文網頁, 記得排版) rgp_product->Items->AddObject(wstr_name, (TObject *)obj); rgp_product->Controls[i]->StyleElements = TStyleElements(seClient+seBorder); dynamic_cast<TRadioButton*>(rgp_product->Controls[i])->Font->Color = clRed; 補充說明(Supplement): -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.124.10.145
文章代碼(AID): #1IV8fJoD (C_and_CPP)
文章代碼(AID): #1IV8fJoD (C_and_CPP)