30 get necesito controlar el lostFocus

30 get necesito controlar el lostFocus

Postby goosfancito » Tue Oct 02, 2018 3:19 pm

Hola.

Tengo:
Code: Select all  Expand view
oGets:= array(30)
vGets:= array(30)


Code: Select all  Expand view
redefine get oGets[...] var vGets[...] id ... of oDlg


y necesito que cada vez que pierde el foto un get se evalue el
valor que contiene.

para no hacer 30 ...
oGets[...]:bLostFocus:= { | x | .... }
pense en usar aEval, pero como se deberia de hacer?

gracias.
FWH 21.02
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
User avatar
goosfancito
 
Posts: 1954
Joined: Fri Oct 07, 2005 7:08 pm

Re: 30 get necesito controlar el lostFocus

Postby Marc Venken » Tue Oct 02, 2018 7:54 pm

Maybe this post can help

viewtopic.php?f=3&t=36139
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1425
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: 30 get necesito controlar el lostFocus

Postby armando.lagunas » Tue Oct 02, 2018 8:27 pm

Se me ocurre algo asi:

Code: Select all  Expand view

      AEval( oGets, {| e | IF( vGets[ e ]:bLostFocus() , Msginfo(...Acción....), Nil ) } )
 


Saludos
SkyPe: armando.lagunas@hotmail.com
Mail: armando.lagunas@gmail.com
User avatar
armando.lagunas
 
Posts: 346
Joined: Mon Oct 05, 2009 3:35 pm
Location: Curico-Chile


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 62 guests