Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange behavior...!!!
Message
De
13/04/1999 12:40:52
 
 
À
13/04/1999 12:36:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00207844
Message ID:
00207857
Vues:
11
>>I have my application up an running...
>>Works fine, all the froms, menu items etc...
>>
>>But after I use a form, (one of it's functions is to show a print preview of a choosen report), NONE!! of the menu items respond to the mouse ckick neither to the keyboard... the dorpdown menu is diplayed but none of the items seems to work... no error messages, not a frozen screen nothing... I have to close the app and restart... and that happens only after I use a very specific form...
>>
>>Thanks
>Hi William,
>
>What I do to go around this is show the preview in a form like so:
>
>Local oPrev
>oPrev = CreateObject("PreviewWindow",ThisForm.Caption+" "+lcFormat)
>REPORT FORM myreport NOCONSOLE &lcFormat Preview Window frmPreview
>
>Define Class PreviewWindow As Form
>  Name = "frmPreview"
>  Caption = 'Report'
>  WindowState = 2
>  Proc Init
>    Parameters ThisTitle
>    If PCount()>0
>      This.Caption = ThisTitle
>    Endif
>    This.Show
>  EndProc
>EndDefine
>Of course this is only for print preview.

This is pretty clever...!!! :-)
An Intelligent fool can make things bigger and more complex... It takes a touch of a genius -and a lot of courage- to move in the opposite direction".
-Albert Einstein
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform