topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
Are there any Treeview samples with associated edit boxes? | D.
You simply upload the image file to your repo in GitHub, then you click on it, right click on the image again and copy the "raw" url.
That url is the one to post here clicking on the Img button here when editing.
Please post here the entire content of C:\fwh\samples\test.xml once your overwrite it |
Are there any Treeview samples with associated edit boxes? | Sorry, I thought we were sharing files on the FW repository. But of course we're using our own space.
Too many things going on. Alright, thanks Antonio.
Let me know if you need any more info, regarding the error. |
Are there any Treeview samples with associated edit boxes? | Here's the test.xml
<!-- m --><a class="postlink" href="https://github.com/HBEnthusiast/FW/raw/main/test.xml">https://github.com/HBEnthusiast/FW/raw/main/test.xml</a><!-- m --> |
Are there any Treeview samples with associated edit boxes? | Did you get the same error, Antonio? |
Are there any Treeview samples with associated edit boxes? | D.
Yes, it fails here too
We still have some bugs to solve |
Are there any Treeview samples with associated edit boxes? | Ok, thanks. I'll continue playing with it. |
Are there checked uncheck box bitmap functions ? | Hi, Like hBmpRecSel := FwRArrow() hBmpBtnList := FwDArrow() hBmpSortAsc := FwBmpAsc() hBmpSortDes := FwBmpDes() Are there checked, uncheck box bitmap functions ?Regards!Shuming Wang |
Are there checked uncheck box bitmap functions ? | None as of now ( to my knowledge). I wish fivewin provides them too |
Are there checked uncheck box bitmap functions ? | I'm keen for same facility.For many years I have used the following for a Tick / Empty pair:--------------// Use OEM system resources <- Black tickLOCAL _hOn := LoadBitMap(0, OBM_CHECK) // Next equates to an empty cell and is treated as if it were bitmapLOCAL _hOff := Chr(160) -------------//When finished with these, ... |
Are there checked uncheck box bitmap functions ? | Checked and UnChecked images are based on the used Windows theme and on the used Windows version, so we can not provide generic functions, unless we decide what images we want for them (XP, Vista, themed or classic? what theme ?) |
Are there checked uncheck box bitmap functions ? | Apologies for resurrecting such an old post but hoping it's been solved by now. I've been out of the FWH community loop for long time but need to revisit some legacy apps of mine and, in my browses based on TCBrowse, it seems that the next bit still works to display a check (tick) in a cell but no longer works (under W... |
Are there checked uncheck box bitmap functions ? | FWBmpOn() and FWBmpOff() |
Are there checked uncheck box bitmap functions ? | Thank you as always, my friend, and especially for such a prompt response but I've been out of the Fivewin loop and my FWH version is about 2008 so does not have those functions.
Regards,
Colin |
Are there checked uncheck box bitmap functions ? | Hi Colin, it's a pleasure to see you hanging around here again. <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
EMG |
Are there checked uncheck box bitmap functions ? | Thanks, Enrico. Cheers, mate.
Col |
Are there time functions :09:01+5-->:09:06 | Hi, Are there functions like: 09:01 +5 --> 09:06 09:01 -08:01--> 01:01Thanks !Shuming Wang |
Are there time functions :09:01+5-->:09:06 | Estas Funciones las encontr en el Foro hace muchos años atrasEspero te sirvan...[code:3nwq21lt]
*+--------------------------------------------------------------------
*+
*+ Function TimeAsSeconds()
*+
*+--------------------------------------------------------------------
*+
FUNCTION TimeAsSeconds( cTime... |
Are there time functions :09:01+5-->:09:06 | [quote="ShumingWang":19wft9dw]Hi,
Are there functions like:
09:01 +5 --> 09:06
09:01 -08:01--> 01:01
Thanks !
Shuming Wang[/quote:19wft9dw]This ar native functions of xharbour:Secs()Calculates the number of seconds from a time string. SyntaxSecs( <cTime>|<dDateTime> ) --> nSecondsTString()Converts numeric seconds... |
Are there time functions :09:01+5-->:09:06 | pablovidal,jose_murugosa, Thank you!Shuming Wang |
Area cliente en FWPPC | Hola,
¿Como puedo averiguar el area cliente de una WINDOW y por extensión de un Control?
Parece ser que el método GetCliRect no está implementado.
Saludos,
José Luis Capel |
Area cliente en FWPPC | Hola
Prueba GetCoors( o:hWnd )
Siau.
C. |
Area cliente en FWPPC | Jose Luis,
oWnd:nWidth y oWnd:nHeight |
Area cliente en FWPPC | Carles, Antonio,
Gracias por las respuesta.
Getcoors me devuelve siempre 0.
oWnd:nHeight y oWnd:nWidth es lo que buscaba.
No obstante... tengo una duda (básicamente por desconocimiento del funcionamiento del mundo Windows CE): ¿ El area cliente incluye o no la zona de los menús ?
nHeight vale lo mismo con menú com... |
Area de trabajo no usada: ORDKEYNO | Hola otra vez. Pase un wbrowse a txbrowse por los problemas ya comentados
[code=fw:837bf8qb]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">/*************************************************************************************/</span><br /><span style="color: #B900B9;">// FUNCI... |
Area de trabajo no usada: ORDKEYNO | SurGom, buenos días:
No tengo ni idea del motivo de este error.
Pero... ¿ podrías por favor poner una imagen de esta ventana ( "DIALOG_2" ) para ver el aspecto y su resultado final ?
Mil gracias.
LORENZO. |
Area de trabajo no usada: ORDKEYNO | Analise ó post estas funciones:
[code=fw:i8lgrspz]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">origen</span>.prg => ORIGEN<span style="color: #000000;">(</span> <span style="color: #000000;">260</span> <... |
Area de trabajo no usada: ORDKEYNO | Hola Karinha, me parece que como estoy utilizando la clase twbrowse de Hernán por ahí puede ser el conficto. Ahora lo voy a tener que dejar porque surgieron otras cosas mas apremiantes. Si compilo el sistema con la clase database fw15 y quito las ordenes para que el xbrowse no haga la busqueda, no hay problema hace tie... |
Area de trabajo no usada: ORDKEYNO | Hola buen día, en un programa que trabaja con SQL, tengo en los abm un listbox donde muestro los datos y si hacen click sobre cualquier registro y arrastran da este error.
Como se puede evitar que provoque el error.
Saludos
Jorge |
Area de trabajo no usada: ORDKEYNO | Post el ERROR asi, porfa:
[url:2cdy337o]http://forums.fivetechsupport.com/viewtopic.php?f=6&t=37936&start=0[/url:2cdy337o]
Use:
[code=fw:2cdy337o]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">//external ordkeyno, ordkeycount, ordcreate, ordkeygoto</span... |
Area de trabajo no usada: ORDKEYNO | [quote="jpcavagnaro":3bjnr4fm]Hola buen día, en un programa que trabaja con SQL, tengo en los abm un listbox donde muestro los datos y si hacen click sobre cualquier registro y arrastran da este error.
Como se puede evitar que provoque el error.
Saludos
Jorge[/quote:3bjnr4fm]
Let us see how you are building xbrowse.... |
Area de trabajo no usada: ORDKEYNO | Gracias por responder, este es el código:
xOrdenadoPor =""
xcampobusca = "Nombre"
cSQL := "SELECT top(25) * FROM clientes "
oRS1cli := CargaRecordSet( cSQL, CadenaCon )
DEFINE FONT oFont NAME "Arial narrow" SIZE 0, - 12
DEFINE FONT oFont1 NAME "Arial narrow " SIZE 6, 18
DEFINE WINDOW oWndChild MDICHILD OF oWnd ... |
Arguement Error Conditional | In my program, there is a listbox. when information in this list is doubleclicked the fields in the dialog box are updated. this works fine for all of them, exept for two places where a dbf field is shared between the two. I have used a PADL function, so that if the information in the field ends with .EXE then it will ... |
Arguement Error Conditional | Deano,
Try this:
IF Right(REPDETS->REP_FOR,3 ) == "exe"
... |
Arguement Error Conditional | Thanks Antonio, all seems ok now <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> |
Argument error: <= | is wrong this expresiion ?
[code:v0fy4s8r] i:=0
do while i <= wdiapro
wfecFin++
if wDiaLab[Dow(wFecIni+i)]
wFecFin++
endif
i++
enddo[/code:v0fy4s8r]
it me make error on <=... why ?
Regards |
Argument error: <= | Check the data type of wdiapro. It must be numeric.
EMG |
Argument error: <= | yes it is numeric
if i insert wdiapro=1 it run ok |
Argument error: MOVEFIRST | Hi all ,
Testing Mysql1.prg with ADORDD , adding a new record (Button NEW) i get the following :
Argument error: MOVEFIRST
Stack Calls
===========
Called from: => WIN_OLEAUTO:MOVEFIRST(0)
Called from: adordd.prg => ADO_GOTOP(555)
Called from: => DBGOTOP(0)
Called from: .\source\classes\WBROWSE.PRG =... |
Argument error: MOVEFIRST | I've found that if I call BROWSE() with argument bNew := { || add1record() }
where add1recors is :
append blank
fieldput(1, "" )
all work fine.
In other words: if the first field od the new record is not null , there is no error.
<!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" titl... |
Argument error: SWITCH | How to solve the following:
Application
===========
Path and name: C:\test\test1.exe (32 bits)
Size: ********* bytes
Time from start: 0 hours 0 mins 11 secs
Error occurred at: 10/12/07, 02:10:20
Error description: Error BASE/3104 Argument error: SWITCH
Args:
[ 1] = U
Stack Calls
========... |
Argument error: SWITCH | Acwoo,
The error is inside XLSFONT()
Please search for SWITCH statement inside XLSFONT() source code |
Argument error: SWITCH | Thanks for the reply
I still can't figure out
Why Argument error: SWITCH
Please help |
Argument error: SWITCH | Acwoo,
Please post the source code of XLSFONT() |
Argument error: SWITCH | Got it fixed. Thanks |
Argumento de función de Harbour dentro Fast Report | Hola :
Estoy nuevamente evaluando el programas para generar reporte Fast Report, Lo hice funcionar 10 puntos el único problema que tengo es enviar parametros a una función escrita en Harbour.
El ejemplo que baje de internet funciono ok,
* OK
oFr:SetEventHandler( "Report" , "OnUserFunctio... |
Arhivos xls y xlsm | Hola,¿ como puedo abrir y modificar un archivo xls, xlsx y xlsm ?
En una hoja especifica o en una hoja única
Gracias, Saludos |
Arhivos xls y xlsm | Hola,¿ como puedo abrir y modificar un archivo xls, xlsx y xlsm ?
En una hoja especifica o en una hoja única
Gracias, Saludos |
Arhivos xls y xlsm | It is much simpler using the FWH builtin function
GetExcelBook( cFileFullPath ) --> oBook
[code=fw:z86oyd7w]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">if</span> <span style="color: #000000;">(</span> oBook := GetExcelBook<span style="color: #000000;">(</span> cExce... |
Arma MENU desde una Tabla | Estimados
Quiero Armar el menú desde una Tabla... mas o menos igual que desde un base de dato.
El tema que cuando quiero ejecutar la funcion que corresponde al items del menú NO me reconoce las variables que deben ir en dicha funcion.
[code=fw:1kvcqsri]<div class="fw" id="{CB}" style="font-family: monospace;">MAEREP... |
Arma MENU desde una Tabla | Mira \samples\TESTMNU.PRG
Salu2. |
Arquivo PNG | Olá,
Como desenhar arquivos png ? |
Arquivo PNG | Vagner,
Revisa samples\TestImg.prg
Verás como puedes visualizar archivos PNG |
Arquivo PNG | Gracias Antonio,
Vou tentar <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: --> |
Arquivo PNG | Olá Antonio,
Testei com o TImage, mas não ficou bom <!-- s:cry: --><img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very sad" /><!-- s:cry: -->
Print Screen da tela
[img:5zjyo1n2]http://www.kssoftware.com.br/vagner/Teste1.jpg[/img:5zjyo1n2]
Arquivo Png Original :
[img:5zjyo1n2]... |
Arquivo PNG | Só para Lembrar <!-- s:P --><img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz" /><!-- s:P --> |
Arquivo.PNG | Como faço para usar bitmap no formato PNG ??
Assin não tá funcionando.
[code=fw:3ggr1c4x]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">Define</span> <span style="color: #0000ff;">Button</span> obtn <span style="color: #0000ff;">Prompt</span> <span style="color: #ff0000;... |
Arquivo.PNG | Hola
Revisa este link
[url:2mpwxdxg]http://forums.fivetechsupport.com/viewtopic.php?f=6&t=18563&start=0&hilit=png[/url:2mpwxdxg]
[url:2mpwxdxg]http://forums.fivetechsupport.com/viewtopic.php?f=3&t=18833[/url:2mpwxdxg]
[url=http://img339.imageshack.us/i/pngy.jpg/:2mpwx... |
Arquivo.PNG | Obrigado Patricio.. Vou verificar sua dica.. |
Arquivo.PNG | Estimados
Con windows XP funciona muy bien pero con windows 7 profesional 64bit muestra de esta forma los archivos PNG
[url=http://img199.imageshack.us/i/pngconwin7profesional64.png/:hptn5lyn][img:hptn5lyn]http://img199.imageshack.us/img199/5629/pngconwin7profesional64.png[/img:hptn5ly... |
Arquivo.PNG | Patricio
No hay ninguna actualizacion, actualmente no tengo como hacer las pruebas en 64bit <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
voy a instalar win7 64 virtualizado a ver si puedo contruirte la libreria para 64bit |
Arquivo.PNG | Gracias Daniel
Espero tus comentarios.. |
Arrancando la maquina virtual de Harbour desde Android !!! | <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=11&t=21405&start=0">viewtopic.php?f=11&t=21405&start=0</a><!-- l --> |
Arrastrar Objeto | Buen Dia a todos.Por que al arrastrar un objeto, btnbmp o SSay y moverlo de abajo hacia arriba de derecha a izquierda deja un rastro gris. Tengo FWH 24 y lo compile tanto con harbour 41.0 como xhabour 0.99.51 De antemano agradezco la ayuda qu eme puedan proporcionar y le mando un afectuoso saludos.paco soriano. |
Arrastrar Objeto | Paco,Estás usando la cláusula DESIGN ?Puedes poner un pequeño ejemplo de como lo haces ? gracias, |
Arrastrar Objeto | Gracias Antonio por responder , este es el codigo#INCLUDE "FiveWin.ch"#define FW_NORMAL 400#define D_WIDTH 4#define D_HEIGHT 13STATIC oConfigSTATIC oWndSTATIC cFormFUNCTION MAIN() LOCAL oBmp, oFont DEFINE FONT oFont NAME "ARIAL" SIZE 0, -12 DEFINE WINDOW oWnd TITLE "Arrastrar" COLOR CLR_BLUE,CLR_YELLOW @ 15,40 BIT... |
Arrastrar Objeto | Usas XP ó Vista ? (se me olvidó preguntarte) <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
Arrastrar Objeto | Antonio.Perdon por no poner el S.O.. pero ahi te va es Windows XP.Lo extraño es que si lo muevo hacia abajo no deja el trazo. ya le puse un brush NULL y nada sigue igual... si voy a otra ventana y regreso se borra el trazo o las lineas grises.muchas gracias..saludos |
Arrastrar Objeto | Aqui está funcionando bien con FWH 8.05 y Vista.Aqui tienes el EXE por si quieres probarlo:<!-- m --><a class="postlink" href="http://rapidshare.com/files/124514139/test.zip.html">http://rapidshare.com/files/124514139/test.zip.html</a><!-- m --> |
Arrastrar Objeto | YA VIII!!!!!Y si funciona muy bien, tendre que actualizarme. Solo un detalle se puede que en ves de que salga el cuadro gris que salieran puntitos, o que en ves de gris fuera de otro color al momento qu elo mueves que fuera caulquier otro color , azul, cyan, amarillo... si se puede? cambiar linea por puntos y gris por ... |
Arrastrar y Soltar desde un objeto TREEVIEW | Saludos foristas,
Alguien ha intentado o sabe como arrastrar un objeto treeview a otro objeto treeview.
La idea es poder copiar partes de un arbol e ingresarlos a otro arrastrando y soltando.
Alguna Pista? |
Arrastrar y Soltar desde un objeto TREEVIEW | Hola, e intentado activar la data del objeto oTree:lDrag := .T., pero al parecer se coloca en modo diseño porque arrastra todo el objeto tree y lo deja en la posicion donde lo suelto.
¿Alguien tiene una pista? |
Arrastrar y Soltar desde un objeto TREEVIEW | Herbert,
Revisa FWH\samples\testdrp3.prg que muestra como hacer arrastrar y soltar en FWH.
No lo he probado con un TreeView pero debería funcionar de forma similar, pruébalo y me comentas, gracias <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
Arrastrar y Soltar desde un objeto TREEVIEW | Excelente Maestro, Ahora si funciona adecuadamente. Muchas gracias, en adelante revisare los samples antes de colocar una pregunta.
Saludos, |
Arrastras y actualizar... | Hola de nuevo a todos los del foro!
Tengo un cliente de recursos humanos que ha solicitado poder visualizar su información en forma de arbor y al arrastrar, por ejemplo, un departamento a otro lugar del árbol, este se mueva pero con toda la información que va pegada a esa sección... ¿eso lo podemos hacer con FWH ?... |
Arrastras y actualizar... | Laura,
No, de momento el drag & drop en trees no está soportado en FWH |
Array (C level) to reference variable (PRG level) | This is an example how to create an array from low level (C code) and assign it to a local variable by reference (PRG code):
[code=fw:ccriwni4]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">(</span><span style="color: #... |
Array (desde C) a variable por referencia (desde PRG) | Aqui teneis un ejemplo de como crear un array desde código C y asignarlo a una variable pasada por referencia desde PRG:
[code=fw:23ctblw1]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">(</span><span style="color: #0000... |
Array - Ayuda please | Sigo con el asunto del array.
Lo que necesito hacer es "cargar" un array con los datos de dos de los campos de una DBF y luego hacer un browse de dos columnas con ese array para que, al hacer doble click sobre una fila realice una acción.
Estuve viendo el ejemplo testarr5.prg pero no me sirve ya que al array lo carga... |
Array - Ayuda please | que tal Rolando, espero esto te sirva:
(lalias)->(dbgotop())
do while (lalias)->(!eof())
aadd(adatosh,{(lalias)->columna1,(lalias)->columna2})
(lalias)->(dbskip())
enddo
TWBrowse():lHScroll:= .f.
@ 34,02 LISTBOX agets[8] FIELDS "";
HEADERS 'Columna 1','Columna2';
F... |
Array - Ayuda please | Pan chancay.... (expresion que significa.... fácil.....)
local aArray:={}
DO WHILE !EOF()
AADD(aArray , {((cAlias)->MODELO) , ((cAlias)->CHASIS)})
DBSKIP()
ENDDO
IF LEN(aArray) = 0 // por si no se lleno el arreglo
AADD(aArray,{"",""})
ENDIF
DEFINE DIALOG oDlg RESOURCE 1009 OF oWnd
REDEFINE LISTBOX oLbx ;... |
Array <> String | Hi,
Exist or not functions to convert array to str and str to array ? Can't find at this moment ... If not exist , maybe you can share with working solution ?
Thanks ! |
Array <> String | Rimantas,
This may help you:
[code=fw:3ji0trkc]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br />extern HBCharacter<br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #00000... |
Array <> String | Rimantas,
simple function to save an array into a string, the fields separated with ";"
[code=fw:k9imdh1m]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">FUNCTION</span> SaveArray2String <span style="color: #000000;">(</span>aArray<span style="color: #000000;">)</span>... |
Array <> String | [quote="StefanHaupt":2ywlazqk]Rimantas,
simple function to save an array into a string, the fields separated with ";"
[/quote:2ywlazqk]
Hi Stefan ,
Thanks , something similar I did at this moment . Simply I was thinking that alreday exist solution .
With best regards ! |
Array <> String | [quote="Antonio Linares":z1ri7muv]Rimantas,
This may help you:
[code=fw:z1ri7muv]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br />extern HBCharacter<br /> </div>[/code:z1ri7muv][/quote:z1ri7muv]
Intere... |
Array BUG? | I make a array with arr := array(30) and then aFill(arr,{}).
When I now say aadd(arr[1],{1,2,3,4}]) all arrays in arr become this aadd() not only arr[1]!
Whe i fill the arr with aeval(arr,{|,index|aadd(arr[index],{1,2,3,4}}) then is it ok.
I use xHarbour. |
Array BUG? | It is not a bug. It is the expected behavior.
AFill( aArray, {} ) results in filling all elements of aArray with reference to the pointer of the same array {}
Let us see this example:
x := y := {} // both x and y contain the pointer to the same array.
So whether we use the variable x or y, we are operating on the s... |
Array BUG? | Thanks much! Is now clear. |
Array Browsing using TwBrowse (Standard) | Hello All,
I am developing a multi selection using two TwBrowse list box with add and remove buttons. One listbox working on table and other working on an array (containing selected items).
The problem is when user presses Remove button, I delete an element from array using ADEL. As a result the last element of arra... |
Array Browsing using TwBrowse (Standard) | Use ASize() after ADel() to truncate the array.
EMG |
Array Browsing using TwBrowse (Standard) | Dear Enrico,
Yes it does solve the problem. Thanks.
Milan.
[quote="EnricoMaria":1btoab9f]Use ASize() after ADel() to truncate the array.
EMG[/quote:1btoab9f] |
Array Question | Hi Everybody,
I may be overlooking something simple but it has been awhile since I have worked with array's.
I have set up an array using:
aIDocList := {}
DO WHILE ! EOF()
aAdd( aIDocList, {DropList->Name, DropList->BMPFile} )
skip
ENDDO
I now need to allow the user to select the first item from a combob... |
Array Question | Jeff,
I suggest creating two arrays. Use the one you wish for the combobox, then after the user makes the selection, extract the related one from the second array by the location of the selection in the first array. Was that clear?
James |
Array Question | Hi James,
I thought of doing that but I could not figure out how to get the item number from the array when selected from a resource dialog box.
If you could help with that one, I'll be all set. |
Array Question | [code:22eu8yef]oLbx:nAt[/code:22eu8yef]
EMG |
Array Question | Jeff,
James is right about needing a single dimension array for your combobox because a combobox cannot handle multidimension arrays directly. However, you may have some unstated reason for wanting to create aIDocList as a multidimensional array for use as such somewhere else in your program. If that is the case, th... |
Array Question | Jeff, here it is if you just want to see the code without having to download the sample....
*----------------------------
* testcomb.prg
#include "fivewin.ch"
PROCEDURE Main()
LOCAL aNames := {},aIDocList := {},cItem := "",;
cItem1 := "",cItem2 := "",;
oDlg,oCbx,oBtn
USE Droplist ALIAS Dropl... |
Array Question | Thanks Enrico / James. |
Array Question | Jeff,
>I thought of doing that but I could not figure out how to get the item number from the array when selected from a resource dialog box.
As Enrico or Roger showed, or:
aArray2[ ascan( aArray1, cItem ) )
James |
Array Question | Thanks Roger.
I ended up using the 2 separate arrays but I like your solution ... I will keep this one for next time <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.