combobox y el nAt

combobox y el nAt

Postby goosfancito » Thu Oct 07, 2021 9:34 am

hola.
Code: Select all  Expand view
REDEFINE COMBOBOX ::oGets[ 1 ] VAR ::vGets[ 1 ] ID 100 OF oDlg ;                 // sucursal
   ITEMS ::aSucursales


Consulta, al iniciar el modulo quiero que ::oGets[1] tome el primer valor que exista en ::aSucursales,
he intentado hacer esto:
Code: Select all  Expand view
::ogets[1]:nAt:= 1


pero no me da. Como seria?
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: combobox y el nAt

Postby leandro » Thu Oct 07, 2021 10:59 am

A mi me funciona de la siguiente manera:

Code: Select all  Expand view

::vGets[ 1 ] := 1
 
Saludos
LEANDRO AREVALO
Bogotá (Colombia)
https://hymlyma.com
https://hymplus.com/
leandroalfonso111@gmail.com
leandroalfonso111@hotmail.com

[ Embarcadero C++ 7.60 for Win32 ] [ FiveWin 23.07 ] [ xHarbour 1.3.0 Intl. (SimpLex) (Build 20230914) ]
User avatar
leandro
 
Posts: 1528
Joined: Wed Oct 26, 2005 2:49 pm
Location: Colombia


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 16 guests