TComponent *pform, *pcomponent;
AnsiString NoNameComponent;
for( int ff=0; ff< Application->ComponentCount; ff++) {
pform = Application->Components[ff]; // get a form
for( int i=0; i< pform->ComponentCount; i++ ) {
pcomponent = pform->Components[i]; // get a component
if( pcomponent->Name == "" ) {
NoNameComponent = pcomponent->ClassName()
+" at "+pform->Name + "has no name";
}
}
}
Friday, March 28, 2014
[C++ Builder] How to search components in the application
The following code search the component whose Name is empty("").
Subscribe to:
Post Comments (Atom)
phpMyAdmin 無法存取 MariaDB 10 的解決方法
[Reference] https://www.qnap.com/zh-tw/how-to/faq/article/%E7%82%BA%E4%BB%80%E9%BA%BC%E7%84%A1%E6%B3%95%E5%9C%A8-phpmyadmin-%E5%AD%98%E5%8...
-
[ M LiDAR Viewer ] Windows 7 環境下, 在OpenGL視窗使用GDI即時繪圖,例如操作滑鼠繪出框選矩形時, 原來在視窗上的圖案會被清除。此時必須關閉[桌面轉譯緩衝處理]。 1.在程式的圖案上按滑鼠右鍵, 開啟程式[內容]對話盒. 2.按[相容性]頁面...
-
看這裏 http://social.technet.microsoft.com/Forums/en/w7itpronetworking/thread/1f22d98f-e150-4a54-9967-1641fa86dbc5
-
[Reference] http://www.programmer-club.com.tw/ShowSameTitleN/cb/10992.html 在主程式 WinMain() 加入下面程式碼 WINAPI WinMain(HINSTANCE, HINSTANCE, LPST...
Office Setup
ReplyDeletewww.office.com/setup
Office Com Setup
Printer Tech Support
www.norton.com/setup
The Rockefeller Institute noted that state revenue from gaming has risen steadily from 1998 to 2007 and totaled $23.three billion in fiscal 2007. In 2007, ten states collected greater than $1 billion a yr in playing revenue, and one other seven states collected greater than $500 million a yr. Gaming revenue represented 2.1 to 2.5 p.c of states’ own supply revenue each year from 1998 via 2007. However, revenue progress from playing slowed in fiscal yr 2008. Yes, find a way to|you 텐벳 probably can} gamble online in Texas, and we’ve chosen the highest TX playing web sites so you understand the place to start out|to begin}.
ReplyDelete