Search found 338 matches: acontrols

Return to advanced search

Re: fwdbu request

... ) local oBtn @ 238, 6 BUTTON oBtn PROMPT FWString( "Copy to clipboard" ) ; OF oDlg SIZE 180, 28 PIXEL ; ACTION ( CopyToClipboard( oDlg:aControls[ 1 ]:GetText() ), oDlg:end() ) return nil //----------------------------------------------------------------------------//
by Otto
Mon Mar 26, 2018 10:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: fwdbu request
Replies: 35
Views: 6813

TBitMap to file

I get an icon associated with a file type
img:=BmpFromIcon(EXTRACTASSICON( 0, nam, @sol))
img:=TBitmap():Define(,, oWnd:aControls[1]:aDialogs[2], img)

img - is an object of TBitMap. How can I save this bitmap to a file ?
by Natter
Mon Feb 26, 2018 10:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TBitMap to file
Replies: 4
Views: 782

Re: Introducing FiveTech's fivedit

... Build 9200 Time from start: 0 hours 1 mins 1 secs Error occurred at: 13/10/2017, 17:02:11 Error description: Error BASE/1004 No exported method: ACONTROLS Args: [ 1] = A { ... } length: 1 Stack Calls =========== Called from: => ACONTROLS( 0 ) Called from: .\source\classes\TFIVEDIT.PRG => ...
by MFarias
Fri Oct 13, 2017 8:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Introducing FiveTech's fivedit
Replies: 560
Views: 111743

Re: Design test ( modified)

... a folder then it not create any controls are into the folder I think we must modify the cGenPrg method of window class line 1304 if ! Empty( ::aControls ) cPrg += CRLF AEval( ::aControls, { | oCtrl | cPrg += oCtrl:cGenPRG( lDlgUnits ) } ) endif I think we must insert something of this : for ...
by Silvio.Falconi
Tue Aug 08, 2017 5:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Design test ( modified)
Replies: 3
Views: 1136

Re: Question about ComboBox

... //width,col if rsl0<>1; //<=800*600, not needed rsl1:=getsysmetrics(1)/if(res==800,600,768) //base height ,nrow for i:=1 TO LEN(::acontrols) oCtrol = odlg:aControls[i] // top:nrow, left:ncol,bottom: nrow, right:ncol aRect = GetCoors( oCtrol:hWnd ) do case case oCtrol:classname()=="TCOMBOBOX" ...
by ShumingWang
Mon Aug 07, 2017 2:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about ComboBox
Replies: 12
Views: 1876

Rutina para leer Gps

... de la ventana ////////////////////////////////////////// Function UpdateControls( oWnd, oTimer ) LOCAL c oTimer:Deactivate() For c = 1 to Len(oWnd:aControls) oWnd:aControls[c]:Refresh() next oTimer:Activate() return .t. /* #pragma BEGINDUMP #include <windows.h> #include <math.h> #include ...
by Busmatic_wpb
Sat Jul 22, 2017 1:10 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Rutina para leer Gps
Replies: 1
Views: 983

Test GPS Error en encontrado

... de la ventana ////////////////////////////////////////// Function UpdateControls( oWnd, oTimer ) LOCAL c oTimer:Deactivate() For c = 1 to Len(oWnd:aControls) oWnd:aControls[c]:Refresh() next oTimer:Activate() return .t. #pragma BEGINDUMP #include <windows.h> #include <math.h> #include ...
by Busmatic_wpb
Fri Jul 21, 2017 11:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Test GPS Error en encontrado
Replies: 0
Views: 654

Re: Changing the textcolor of RADIOS and CHECKB. at runtime ?

... as well with these changes : // --------------- FUNCTION OBJ_UPDATE( oFld2, nTextColor, nBackColor ) // ---FOLDER --- AEval( oFld2:aDialogs[ 2 ]:aControls, { |o| IF( o:ClassName == "TSAY", ( o:SetColor( nTextColor, nBackColor ), o:Refresh() ), NIL ), ; IF( o:ClassName == "TRADIO", ...
by ukoenig
Fri Jun 16, 2017 10:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Changing the textcolor of RADIOS and CHECKB. at runtime ?
Replies: 2
Views: 689

Changing the textcolor of RADIOS and CHECKB. at runtime ?

... RADIOS and CHECKBOXES at runtime. It only works on SAY FUNCTION OBJ_UPDATE( oFld2, nTextColor, nBackColor ) // FOLDER AEval( oFld2:aDialogs[ 2 ]:aControls, { |o| IF( o:ClassName == "TSAY", o:SetColor( nTextColor, nBackColor ), NIL ), ; // works !!! IF( o:ClassName == "TRADIO", ...
by ukoenig
Thu Jun 15, 2017 4:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Changing the textcolor of RADIOS and CHECKB. at runtime ?
Replies: 2
Views: 689

Re: FWH 17.04 : Group Labels on ButtonBars

... RESOURCE 0x30050 DEFINE BUTTON OF oBar PROMPT "Setup" RESOURCE 0x1005D ACTION oDlg:End() BTNRIGHT TOOLTIP "Exit" AEval( oBar:aControls, { |oBtn| oBtn:bColorMap := { |o| If( o:lMOver, { CLR_BLACK, CLR_HRED }, nil ) } } ) RETURN NIL ----------------- regards Uwe :?:
by ukoenig
Sun May 14, 2017 4:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 17.04 : Group Labels on ButtonBars
Replies: 13
Views: 4079

Re: FWH 17.04 : Group Labels on ButtonBars

... BUTTON OF oBar PROMPT "Refresh" RESOURCE 0x30050 DEFINE BUTTON OF oBar PROMPT "Setup" RESOURCE 0x1005D BTNRIGHT AEval( oBar:aControls, { |oBtn| oBtn:bColorMap := { |o| If( o:lMOver, { CLR_BLACK, CLR_HRED }, nil ) } } ) RETURN NIL -------------- http://www.pflegeplus.com/IMAGES/Samples2.jpg ...
by ukoenig
Fri May 12, 2017 2:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 17.04 : Group Labels on ButtonBars
Replies: 13
Views: 4079

Re: FiveODBC Error Message

... * FROM " + cTable ) oDbf:lDateAsStr := .t. oDbf:Open() if lAsync oDbf:AutoFill(oDlg,,{|n| ChkCursor(n, oDbf, oDlg) } ) else aSend(oDlg:aControls, "disable()") oDlg:bValid := {|| .f. } oDlg:BMMoved := {|| CursorWait()} oDbf:Complete() aSend(oDlg:aControls, "enable()") ...
by Compuin
Mon Dec 26, 2016 4:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FiveODBC Error Message
Replies: 27
Views: 4545

Re: several get's in a loop

Hello Antonio,

As I understand all defined classes are in an array. But how looks this array, is there an example anywhere?
If I ask:
oFld:aDialogs[2]:aControls[n]:ClassName()
, I get all classnames, but how to retrieve the name of the class (Like oGet1, oGet2...)

Rene
by plantenkennis
Thu Nov 24, 2016 7:32 pm
 
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: several get's in a loop
Replies: 3
Views: 1166

Re: several get's in a loop

René,

AEval( oDlg:aControls, { | oControl | If( Upper( oControl:ClassName() ) == "TGET", save oControl:GetText(), nil ) } )
by Antonio Linares
Thu Nov 24, 2016 10:34 am
 
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: several get's in a loop
Replies: 3
Views: 1166

Re: Como saber si un control cambio.. updated()

Usando AScan() buscamos el primer control que sea distinto:

AScan( oDlg:aControls, { | oCtrl, n | oCtrl:bSetGet != nil .and. Eval( oCtrl:bSetGet ) != aInitValues[ n ] } ) != 0

un valor .T. significa que han habido cambios
by Antonio Linares
Mon Oct 24, 2016 7:44 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como saber si un control cambio.. updated()
Replies: 4
Views: 722
PreviousNext

Return to advanced search