Search found 61 matches: getcurdir

Return to advanced search

Re: A problem, painting radios

... vertical. I added a Dummy-button to the sample, to test LOSTFOCUS. I noticed a Function-change old : c_path := CURDRIVE() + ":\" + GETCURDIR() new ( Function includes Drive ) c_path := GETCURDIR() http://www.pflegeplus.com/pictures/radtest4.jpg My new GROUPTESTER ...
by ukoenig
Tue Feb 07, 2012 11:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A problem, painting radios
Replies: 6
Views: 938

Re: bug in FWH 11.11

Antonio,

Now combos are working fine.

Regaring getcurdir, why FWH does not use Harbour´s curdir()?. What´s the difference?.

Thanks.
by ukservice
Thu Dec 01, 2011 5:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: bug in FWH 11.11
Replies: 6
Views: 912

bug in FWH 11.11

Hello,

GetCurDir() is missing.

Thanks
by ukservice
Thu Dec 01, 2011 4:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: bug in FWH 11.11
Replies: 6
Views: 912

Re: getcurdir() y cgetfile()

Gracias Karinha, La función lchdir() es la que buscaba (nunca hasta ahora había tenido necesidad de utilizarla). Pero insisto en que cgetfile() no debería cambiar el path (también cambia el SET DEFAULT), en su lugar me he hecho una functión llamada Getfile(), para sustiruirla: function Getfile(cFile...
by Sebastián Almirón
Wed Sep 07, 2011 11:46 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: getcurdir() y cgetfile()
Replies: 5
Views: 1545

Re: getcurdir() y cgetfile()

Creo sea esto: FUNCTION XBLITE()  //->MAIN()    MEMVAR cPRGPATH, cFILEPATH    cPRGPATH := cFILEPATH(GETMODULEFILENAME(GETINSTANCE()))    XBACKUPLITE()    lCHDIR(cPRGPATH) //-> aca vuelve al directorio ...
by karinha
Mon Sep 05, 2011 2:35 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: getcurdir() y cgetfile()
Replies: 5
Views: 1545

Re: getcurdir() y cgetfile()

Bueno, gracias por contestar, pero no se si me he explicado bien. No se trata de obtener el path de la aplicación, de lo que se trara es de que curdir() devuelva lo mismo antes y después de llamar a cgetfile(), o si no hay más remedio, alguna función para que curdir() devuelva el path de la aplicaci...
by Sebastián Almirón
Mon Sep 05, 2011 2:20 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: getcurdir() y cgetfile()
Replies: 5
Views: 1545

Re: getcurdir() y cgetfile()

Para obtener el directorio de la aplicacion deberias acerlo así:

Code: Select all  Expand view
Msgalert('Paso2: ' + cFilePath( GetModuleFileName( GetInstance() ) ) )
 
by Bayron
Mon Sep 05, 2011 1:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: getcurdir() y cgetfile()
Replies: 5
Views: 1545

Re: getcurdir() y cgetfile()

talbéz:



Code: Select all  Expand view

     cPath := CURDRIVE() + ":\" + GETCURDIR()
by karinha
Mon Sep 05, 2011 1:23 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: getcurdir() y cgetfile()
Replies: 5
Views: 1545

getcurdir() y cgetfile()

Hola a todos, el siguiente código: Msgalert('Paso1: ' + getcurdir() ) cdesti := cGetFile('Archivos Excel (*.xls) | *.xls','Guardar libro',,,.t.,.t.,2,cname) Msgalert('Paso2: ' + getcurdir() ) En el paso 1 me muestra el directorio de la aplicación, pero ...
by Sebastián Almirón
Mon Sep 05, 2011 10:38 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: getcurdir() y cgetfile()
Replies: 5
Views: 1545

Visual Image-Converter / Script-Edit => Rel. 1.0 (Download)

... : convert a Screencapture ( BMP ) to a new File ( JPG ) // Your Application-path // --------------------- c_path := CURDRIVE() + ":\" + GETCURDIR() // Screencapture-name // ------------------ cScreen := c_path + "\Screen1.BMP" oDlg:SaveToBmp( cScreen ) // change Screencapture-format ...
by ukoenig
Thu Aug 04, 2011 11:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Visual Image-Converter / Script-Edit => Rel. 1.0 (Download)
Replies: 4
Views: 2373

Re: path of an image

... wrong Backslash-direction. Using : "." + "\" works fine. 1. Get Your Main-directory : c_path := CURDRIVE() + ":\" + GETCURDIR() 2. the complete Path ( can be the Result from Image-selection ) : cFile := c_path + "\Bitmaps\Olga.jpg" Msgalert ( c_path + "\Bitmaps\Olga.jpg" ...
by ukoenig
Wed Jul 27, 2011 10:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: path of an image
Replies: 17
Views: 3775

Re: Size of bitmaps

... aGet[3] LOCAL cTabCodice := SPACE(10) LOCAL cTabDesc := SPACE(10) LOCAL cTabImage := SPACE(10) LOCAL oBmp c_path := CURDRIVE() + ":\" + GETCURDIR() cImgname := c_path + "\Bitmaps\Help.bmp" cWidth := "16" cHeight := "16" DEFINE DIALOG oDlg FROM 100, 100 TO ...
by acwoo1
Fri May 13, 2011 12:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Size of bitmaps
Replies: 12
Views: 2920

Re: Project : Programming a Image-viewer with xBrowse

... A Question : The Function cGetDir( "Select a directory", CurDrive() + ":\" + GetCurDir() ) + "\" opens the Dialog just somewhere on Screen. Is it possible to define a fixed Position ? http://www.pflegeplus.com/pictures/xbview2.jpg ...
by ukoenig
Wed Apr 13, 2011 7:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Project : Programming a Image-viewer with xBrowse
Replies: 34
Views: 7999

Re: COMBOBOX WITH BITMAPS

... of Path-defines, sometimes I got Problems to find BMP's I don't use .\ or ..\ anymore. Instead I use : c_path := CURDRIVE() + ":\" + GETCURDIR() and the BMP-call with c_Path + "\bitmaps\" + cBmp1 or c_Path + "\Images\16x16\" + cBmp1 where cBmp1 = "LOGO.BMP" ...
by ukoenig
Fri Feb 18, 2011 1:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: COMBOBOX WITH BITMAPS
Replies: 7
Views: 1538

Re: Display problems transparency

... DIRAPPLI() + "BMP\CPOSTAL.BMP" > ? The BMP-File not found, or wrong Display ? I'm using : c_path := CURDRIVE() + ":\" + GETCURDIR() IF !FILE( c_path + "\System\textedit.bmp" ) MsgAlert( "BMP not found !", "Attention" ) ENDIF REDEFINE BTNBMP ...
by ukoenig
Tue Nov 30, 2010 5:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Display problems transparency
Replies: 9
Views: 1828
PreviousNext

Return to advanced search