Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG: SelectedBackcolor for textbox with EnableHyperlinks
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01235547
Message ID:
01235761
Vues:
14
Try with:
PUBLIC oform1
oform1=NEWOBJECT("form1")
oform1.Show
RETURN

DEFINE CLASS form1 AS form
    DoCreate = .T.
    Caption = "Form1"
    Themes = .F.
    Name = "Form1"

    ADD OBJECT text1 AS textbox WITH ;
        Value = "www.microcomplex.com", ;
        Height = 39, ;
        Left = 46, ;
        Top = 66, ;
        Width = 317, ;
        SelectOnEntry    = .t.,;
        EnableHyperlinks = .T., ;
        SelectedBackColor = RGB(255,0,0), ; && RED
        Themes = .T., ;
        Name = "Text1"

    ADD OBJECT command1 AS commandbutton WITH ;
        Top = 163, ;
        Left = 110, ;
        Height = 28, ;
        Width = 166, ;
        Caption = "Command1", ;
        Name = "Command1"
ENDDEFINE
*
*-- EndDefine: form1
**************************************************
and select the text in the TextBox.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform