Aide Composant dialogue Probleme
bonjour
voila jai un petit probleme
lorsque je clique sur ma combobox jexecute le composant TFONT
mais quand on appui sur ok la boite se reaffiche encore 2 fois de suites avant de fermer , pouvez me dire pourquoi ? et comment je peux regler ce probleme ?
Merci
Code:
1 2 3 4 5 6 7 8 9 10
| void __fastcall TF_Index:: ChangerPoliceGB(TGroupBox *MaGB)
{
if(FD_edit_police->Execute()) MaGB->Font = FD_edit_police->Font;
}
void __fastcall TF_Index::GB_CreerCompteContextPopup(TObject *Sender,
TPoint &MousePos, bool &Handled)
{
ChangerPoliceGB(GB_CreerCompte);
} |