bonjour tlm
-je veux r�aliser un navigateur web personalis�.
-j'ai ins�rer les composants suivant:
un panel, un ComboBox et un CppWenBrowser, une StatutBar.
et j'ai ajouter les fonction suivantes:
-mais �a ne marche pas , qu'est ce qu'il faut ajouter ou changer SVP
Code : S�lectionner tout - Visualiser dans une fen�tre � part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 //ComboBoxClick void __fastcall TWEBMAIN::URLComboBoxClick(TObject *Sender) { if (URLComboBox->Text!="") HTML->FindComponent(URLComboBox->Text); } //--------------------------------------------- //ComboBoxKeyPress void __fastcall TWEBMAIN::URLComboBoxKeyPress(TObject *Sender, char &Key) { if (Key == VK_RETURN) { Key=0; URLComboBox->Items->Insert(0,URLComboBox->Text); } }
merci
Partager