English
Forum

@LoadFile$ (Button inquire)

 

Alfred
Wagner
Hello Profaner

i want a File loading with the commands

File$ = @LoadFile$(File select, *.EXE)
so far no trouble.

but how can I thereby check whether the Open or the Cancel Button chosen watts.

thanks already time in the vorhinein

Regards
Alfred
 
WinXP-Home ,XProfan10

Alfreds ... Freeware :  [...] 
04/15/07  
 




Alfred
Wagner
trouble yourself resolved
CompileMarkSeparation
Declare Datei$,Laden&,ENDE%

Proc LoadFile

    Datei$ = @LoadFile$(Datei auswählen, *.EXE)

    If Datei$ >

        Print Öffnen gewählt

    else

        Print Abbrechen gewählt

    EndIf

EndProc

cls
Laden&=Control(BUTTON,Laden,1409351680,200,20,70,22,%HWND,0,%hinstance,0)
SETFOCUS(%HWND)

WHILENOT ENDE%

    WAITINPUT

    If %KEY=2

        ENDE%= 1

    ELSEIF %KEY=4

    ELSEIF GETFOCUS(Laden&) BUTTON

        LoadFile

    ENDIF

ENDWHILE


Regards
Alfred
 
WinXP-Home ,XProfan10

Alfreds ... Freeware :  [...] 
04/15/07  
 



@Alfred
give time in the Profan-Help %Button one - there stand the actual Options for your trouble


The in a MessageBox or one the vordefinierten dialogs squeezed button:

1 -OK
2 -Cancel (Cancel)
3 -Cancel (miscarriage)
4 -repeat
5 -ignore
6 -Yes
7 -No

with vordefinierten Dialogen becomes either 1 for OK or 2 for Cancel zurückgegeben.

 
04/15/07  
 



Ungetestet but File > would I do not recommend. rather on Datei= abprüfen. If the Dateiname -1 heissen would could your check failure. As I said - ungeprüft.
 
04/15/07  
 




RGH
iF
Ungetestet but File > would I do not recommend. rather on Datei= abprüfen. If the Dateiname -1 heissen would could your check failure. As I said - ungeprüft.


eachone String the characters contains, is with one Stringvergleich larger as . The request File$ > is means completely correctly and sure.

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
04/15/07  
 



OK. me fell there only The autom.Typenkonvertierung one which the had failure let can.
 
04/15/07  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

4.290 Views

Untitledvor 0 min.
J. Strahl06/16/11

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie