réaliser un navigateur web avec builder c++
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::roll:
Code:
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);
}
} |
-mais ça ne marche pas , qu'est ce qu'il faut ajouter ou changer SVP 8O
:bug: merci