Search found 39 matches: createbutton

Return to advanced search

A possible adjustment of a GET-action bmp ?

... close to the top using a GET with action ? With a background-color it doesn't look very nice. I'm using it for a color-selection. in METHOD CreateButton() CLASS TGet I noticed everywhere < ::nHeight - 4 > http://www.pflegeplus.com/IMAGES/Getact1.jpg I tested oCGet[2]:lAdjustBtn ...
by ukoenig
Thu Oct 03, 2019 6:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A possible adjustment of a GET-action bmp ?
Replies: 6
Views: 942

Re: [BUG] in source/font.prg and a question

... => FONTTOTEXT( 641 ) Called from: .\ALARM.PRG => (b)PAGE2( 749 ) Called from: .\source\classes\TGET.PRG => (b)TGET:CREATEBUTTON( 952 ) Called from: .\source\classes\BUTTON.PRG => TBUTTONBMP:CLICK( 179 ) regards Uwe :?:
by ukoenig
Thu Jul 25, 2019 8:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: [BUG] in source/font.prg and a question
Replies: 8
Views: 1019

Re: TGET behavior (Antonio)

I add this code to method createbutton() after line 943 in FWH 18/12 if !::lKeepFocus        ::oBtn:bAction := {|| Eval( oThis:bAction, oThis ),oThis:refresh(),if(valtype(::bValid) == "B",;   ...
by byte-one
Sat Jan 12, 2019 3:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGET behavior (Antonio)
Replies: 7
Views: 1284

TGET behavior (Antonio)

In method createbutton() is this line ::oBtn:bAction := {|| Eval( oThis:bAction, oThis ),oThis:SetFocus() } It respects not the present data ::lKeepFocus!! Should be: ::oBtn:bAction := {||  ( ...
by byte-one
Tue Jan 08, 2019 2:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGET behavior (Antonio)
Replies: 7
Views: 1284

Re: Error TDolphin

... 414 ) Called from: D:\Programs\ESTUDI~1\PRG\cobranzas.prg => (b)DETACOBRANZA2( 417 ) Called from: .\source\classes\TGET.PRG => (b)TGET:CREATEBUTTON( 628 ) Called from: .\source\classes\BUTTON.PRG => TBUTTONBMP:CLICK( 179 ) Called from: .\source\classes\CONTROL.PRG => TBUTTON:HANDLEEVENT( ...
by caducca
Thu Oct 26, 2017 12:08 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error TDolphin
Replies: 7
Views: 1908

TGet's Button problem-Solved

... 0 ) Called from: .\SOURCE32\Comm_Prg\TUsersMsf.prg => (b)TUSERSMSF:REGET( 497 ) Called from: .\source\classes\TGET.PRG => (b)TGET:CREATEBUTTON( 527 ) Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:CLICK( 658 ) Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:LBUTTONUP( ...
by richard-service
Thu Jun 30, 2016 3:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGet's Button problem-Solved
Replies: 3
Views: 719

Re: Connect to Advantage Database

Hi Antonio , I try to make some test on FLH this morning. After install UBUNTU 14.04 LTS and all the packages needs to compile FLH i've a lot of errors like this: compiling... Harbour 2.1.0rc2 (Rev. 16643) Copyright (c) 1999-2011, http://harbour-project.org/ Compiling 'tutor01.prg'... Lines 1097, Fu...
by giuliano
Thu Aug 06, 2015 10:43 am
 
Forum: FiveLinux / FiveDroid (Android)
Topic: Connect to Advantage Database
Replies: 31
Views: 11175

TGet y SetMargins

... a la izquierda en lugar de la derecha como lo hace normalmente. Para eso estoy modificando las coordenadas de creación del boton en el método CreateButton(), lo que es sencillo, peeeeeero.... No puedo cambiar el márgen izquierdo para que el texto del Get no quede debajo del botón. He puesto ...
by Carlos Mora
Tue Mar 24, 2015 11:31 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: TGet y SetMargins
Replies: 11
Views: 967

New FTDN March/Marzo 2015 (FWH 15.03)

... resizign is necessary is not being destroyed. Fixed now http://forums.fivetechsupport.com/viewtopic.php?f=3&t=30352 * Fix: Class TGet Methods CreateButton(), GotFocus() and LostFocus() have been modified so a GET button (clause ACTION) with a WHEN .F. get the focus: http://forums.fivetechsupport.com/viewtopic.php?p=174059#p174059 ...
by Antonio Linares
Fri Mar 20, 2015 10:22 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN March/Marzo 2015 (FWH 15.03)
Replies: 16
Views: 7346

Re: Haga clic en el BITMAP no obedece WHEN GET

Maestro, La forma en que ha pasado dio error. Sin embargo, cambié el TGet y así lo hizo: METHOD CreateButton() CLASS TGet ... ::oBtn:lCancel = .f. // Inicia FALSO para ser habilitado na GOTFOCUS (Alexandre Pereira) ... METHOD LostFocus( hCtlFocus ) CLASS TGet ... // Desabilitando ...
by alexpdasilva
Wed Mar 18, 2015 3:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Haga clic en el BITMAP no obedece WHEN GET
Replies: 14
Views: 2825

Re: Disabled button get still clickable (TBtnBmp) - SOLVED

Antonio Linares wrote:Frances,

Please try this before you call CreateButton():

oGet:oBtn:End()



Antonio,

This solved my issue. :D
by fraxzi
Sat Nov 01, 2014 12:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Disabled button get still clickable (TBtnBmp) - SOLVED
Replies: 12
Views: 1999

Re: Disabled button get still clickable (TBtnBmp)

Frances,

Please try this before you call CreateButton():

oGet:oBtn:End()
by Antonio Linares
Fri Oct 31, 2014 8:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Disabled button get still clickable (TBtnBmp) - SOLVED
Replies: 12
Views: 1999

Re: Disabled button get still clickable (TBtnBmp)

Antonio,

Please refer to this testbed
https://drive.google.com/folderview?id= ... =drive_web

If from redefine.. no need to add :createbutton() but if from @1,1 Get... I must in order to create tBtnBmp instead of tbuttonbmp.

Please kindly check.
by fraxzi
Fri Oct 31, 2014 6:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Disabled button get still clickable (TBtnBmp) - SOLVED
Replies: 12
Views: 1999

Re: Disabled button get still clickable (TBtnBmp)

Frances,

You don't need this line as FWH creates the button automatically:

oGet:CreateButton()

Also, are you using a dialog box ? You will not be able to disable a button until it has a valid Windows handle, so it has to be done from the ON INIT clause of the dialog.
by Antonio Linares
Fri Oct 31, 2014 5:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Disabled button get still clickable (TBtnBmp) - SOLVED
Replies: 12
Views: 1999

Re: bugs FW14.06

Elvira, Hay un bug en el método CreateButton() de la clase tGet.prg Busca este código: if ValType( ::bAction ) == "B" .and. Upper( ::ClassName() ) == "TGET" Sin embargo, debería ser en realidad Upper( ::Super :ClassName() ...
by nageswaragunupudi
Mon Jun 30, 2014 11:07 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: bugs FW14.06
Replies: 20
Views: 2660
Next

Return to advanced search