Search found 129 matches: oget2

Return to advanced search

Re: Cambiar el color del GETS en tiempo de ejecucion

colocalo en la clausula VALID del get y usa SetColor()

redefine get oGet2 var cUser id 102 of oDlg valid( if ( UPPER( cUser ) <> "ADMIN",oGet2:SetColor( CLR_BLACK, CLR_HRED ),oGet2:SetColor( CLR_BLACK, CLR_WHITE ) ), oGet2:refresh(), .t. )
by Daniel Garcia-Gil
Sat Jan 17, 2009 3:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cambiar el color del GETS en tiempo de ejecucion
Replies: 2
Views: 419

... ::controlarPulsaciones( ::oDatos[1]:nLastKey ) } redefine oget1 var ctes1 id 4001 of odlg redefine oget2 var ctes2 id 4002 of odlg when if(empty(ctes1),.f.,.t.) talvez utilizando oget2:blostfocus:={||} oget2:bgotfocus:={||}
by goosfancito
Tue Dec 02, 2008 2:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ¿Cómo controlar click al querer pasar a otro campo?
Replies: 2
Views: 440

redefine oget1 var ctes1 id 4001 of odlg


redefine oget2 var ctes2 id 4002 of odlg when if(empty(ctes1),.f.,.t.)


talvez utilizando

oget2:blostfocus:={||}
oget2:bgotfocus:={||}
by MGA
Tue Dec 02, 2008 2:00 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ¿Cómo controlar click al querer pasar a otro campo?
Replies: 2
Views: 440

Problema con al descargar un fichero por ftp

... dialog oWnd resource "FTP" redefine say id 1000 of oWnd redefine say id 2000 of oWnd redefine get oget1 var ruta_local id 110 of oWnd redefine get oget2 var ruta_destino id 120 of oWnd redefine button id 100 of oWnd action (tipo:='enviar',envio(tipo)) redefine button id 200 of oWnd action (tipo:='recibir',envio(tipo)) ...
by Elias Torres
Thu Nov 20, 2008 11:18 am
 
Forum: FiveWin para Pocket PC
Topic: Problema con al descargar un fichero por ftp
Replies: 9
Views: 2753

Re: get.. action

... el block de validación y pase al siguiente get sin tener que volver a presionar enter ?. He probado .....ACTION ( mifuncion(), oGet1:oJump:=oGet2, oGet2:SetFocus() ) y nada... sin resultados. Como puedo hacerlo? Agradezco desde ya la ayuda que generosamente puedan brindarme. Yo en la búsqueda ...
by triumvirato
Tue Oct 21, 2008 2:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: get.. action
Replies: 4
Views: 876

Intentas asi: xFocus( oGet2 ) ... //-------------------------------------------------------------------------// FUNCTION xFocus( oObj ) xSetFocus( oObj ) xSetFocus( oObj ) RETURN( .T. ) //-------------------------------------------------------------------------// ...
by karinha
Tue Oct 21, 2008 1:55 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: get.. action
Replies: 4
Views: 876

get.. action

... el block de validación y pase al siguiente get sin tener que volver a presionar enter ?. He probado .....ACTION ( mifuncion(), oGet1:oJump:=oGet2, oGet2:SetFocus() ) y nada... sin resultados. Como puedo hacerlo? Agradezco desde ya la ayuda que generosamente puedan brindarme.
by jose_murugosa
Tue Oct 21, 2008 1:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: get.. action
Replies: 4
Views: 876

... //------------------------------------------------------------------------// Function Client(oBtn, obtn1) // start client Local oDlg, oGet1, oGet2, cVar1, cVar2 Local lNoShow := .t. MemVar oApp, oChatserver, ochatclient cVar1:= space(15) // ip cVar2:=Space(12) // user name oBtn:Disable() ...
by norberto
Wed Sep 24, 2008 7:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TCPIP Chat
Replies: 18
Views: 5368

Browsing generally

... seem to be working for me. I'm sure I must be leaving something out. I use this in my code. 1. put your get object in an array aObj := { oGet1, oGet2, oGet3 ... } on your bChange, oLbx:bChange := { || DoRefresh(aObj) } 2. create a function with parameter to hold aObj. function DoRefresh(aObj) ...
by Antonio Linares
Wed Aug 27, 2008 7:35 am
 
Forum: Utilities / Utilidades
Topic: Boris Pekic - NG's archive
Replies: 27
Views: 65788

Re: Can not disable GET when using WHEN clause

Patrick It is normal. I placed a tracelog in the when clausule : @ 2, 6 GET oGet2 VAR cVar2 OF oDlg SIZE 60, 10 WHEN (tracelog(),.T.) with as result : [testfw.prg->(b)MAIN] (14) Called from: WINDOW.PRG->TDIALOG:AEVALWHEN(0) DIALOG.PRG->TDIALOG:INITIATE(0) ...
by demont frank
Sat Aug 16, 2008 2:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Can not disable GET when using WHEN clause
Replies: 5
Views: 1057

Re: Can not disable GET when using WHEN clause

Patrick It is normal. I placed a tracelog in the when clausule : @ 2, 6 GET oGet2 VAR cVar2 OF oDlg SIZE 60, 10 WHEN (tracelog(),.T.) with as result : [testfw.prg->(b)MAIN] (14) Called from: WINDOW.PRG->TDIALOG:AEVALWHEN(0) DIALOG.PRG->TDIALOG:INITIATE(0) ...
by demont frank
Sat Aug 16, 2008 2:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Can not disable GET when using WHEN clause
Replies: 5
Views: 1057

... get created if we use ALT accelerator. //-------------------------------------- FUNCTION TESTALT #include 'Fivewin.ch' LOCAL oDlg LOCAL oGet1, oGet2, oGet3, oBtn LOCAL cVar1 := 'ABCDEF ' LOCAL cVar2 := SPACE(8) LOCAL cVar3 := SPACE(8) DEFINE DIALOG oDlg FROM 0, 0 TO 10, 30 ; TITLE 'Test Alt ...
by Colin Wisbey
Thu Aug 14, 2008 10:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Antonio: ALT accelerator with button - Urgent help needed
Replies: 12
Views: 3417

Antonio: ALT accelerator with button - Urgent help needed

... the valid is executed BEFORE // the button's ACTION. //-------------------------------------------- #include 'Fivewin.ch' LOCAL oDlg LOCAL oGet1, oGet2, oGet3, oBtn LOCAL cVar1 := 'ABCDEF ' LOCAL cVar2 := SPACE(8) LOCAL cVar3 := SPACE(8) DEFINE DIALOG oDlg FROM 0, 0 TO 10, 30 ; TITLE 'Test Alt ...
by Colin Wisbey
Wed Aug 13, 2008 7:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Antonio: ALT accelerator with button - Urgent help needed
Replies: 12
Views: 3417

Javier,

Puedes controlarlo desde el bGotFocus del primer GET:

oGet1:bGotFocus = { || ... acciones a realizar }

ó bien desde el VALID del segundo GET:

oGet2:bValid = { || ... acciones a realizar ..., .T. }

Aprovecho para pedirte que me envies un email y me indiques cuando continuamos :-)
by Antonio Linares
Wed Aug 06, 2008 12:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mostrar y ocultar botones después de un VALID en un GET
Replies: 1
Views: 443

Problemas al Incrustar controles de un Dialog a una Ventana

... MDICHILD ACTIVATE WINDOW oChild ; ON INIT BuildDialog( oChild ) SET RESOURCES TO return nil function BuildDialog( oChild ) local oDlg, oGet1, oGet2, oGet3, oGet4, nLoca_desde, nBode_Desde local cLoca_desde, cBode_Desde, aLocaD:={}, aBodeD:={}, oBtn DEFINE DIALOG oDlg RESOURCE "DLG_PRUEBA" ...
by VPOZO
Fri Aug 01, 2008 3:48 pm
 
Forum: FiveWin for CA-Clipper
Topic: Problemas al Incrustar controles de un Dialog a una Ventana
Replies: 2
Views: 1276
PreviousNext

Return to advanced search