:)
Type: Posts; User: strato
:)
I've created an App (desktop, Visual FoxPro) with 1 page (blank), 1 section (canvas). I saved as Component ...
\lianja\library\components\<myappname>\ directory created with 2 files in: ...
thank You Yvonne!
(the ticket refers to another (the disp memo like ...) problem)
is array() acceptable?
(clear memory, release all does not work in namespaces? what would be the correct solution?)
namespace mySpace
public myVars ....
...
...
namespace
thanks Barry!
hi Barry
if I set it that way, Lianja will crash.
Debug file:
File ../../lib_dbw.cpp at line 1794 dbw_execute() command=set debug on rc=0 (Success)
File ../../mainwindow.cpp at line 82845...
thanks Herb,
yes I'm experiencing this too, I use TreeGrid this way now (unfortunately there is a problem with utf8 characters here, maybe you have a solution for that?)
in the Canvas section, I want to use TreeGrid Advanced Control using an array as a row source.
In the description I found that rousourcetype = 5 is possible for such a case.
Does this description...
If someone has a similar problem, here’s a little adjustment program
function adjust_array()
parameter aRay
external array aRay
private aRow, n, m, i, j, aNew
aRow = aRay[1]
if...
private myb
declare myb[2,2]
myb[1,1] = "R1"
myb[1,2] = 'row 1.'
myb[2,1] = "R2"
myb[2,2] = 'row 2.'
private jmyb = json_encode(myb)
mya = json_decode(jmyb)
?myb[1,2]
Hi Hank,
I think Your example does not concerns this problem because it encodes and decodes a dynamic array. There is no problem with one dimensional fixed arrays as well. I see that decoding is...
do You mean? :
declare myb[2,2]
myb[1,1] = "R1"
myb[1,2] = 'row 1.'
myb[2,1] = "R2"
myb[2,2] = 'row 2.'
private jmyb = json_encode(myb)
?myb
sorry, there are some basic differences:
MYB1 Fixed array (refptr MYB, refcnt 3)
vs
MYB Fixed array (refcnt 3)
MYB [1,1] pri( 2) Character[ 2] 'R1'
MYB ...
do You mean Barry? :
rele all
private myb
declare myb[2,2]
myb[1,1] = "R1"
myb[1,2] = 'row 1.'
myb[2,1] = "R2"
myb[2,2] = 'row 2.'
hi Hank,
as you can see in the title of the topic, the "Fixed" array is wrong, not the dynamic. The dynamic array is only needed because of json_encode I have to use in sessionstorage. Plus, I...
how can I handle fixed arrays with json_encode() - json_decode() transformation (needed for sessionstorage)
now I try so:
private array myb[2,2]
myb[1,1] = "R1"
myb[1,2] = 'row 1.'
...
so, if I understand correctly, the description of TreeGrid is supplemented here with the description of Tree ... The situation is similar for other advanced controls such as ListBox
The ListBox Advanced Canvas Control data source in both applications is a public memory variable with an initial value of 0.
When I select from the list, the value of this variable (in the Click()...
I want to use TreeGrid Advanced Canvas Control. The sql select list also looks nice, I can query the active row in the Click delegate, but
- how can I get the selected value?
- how can I update the...
I managed to get the desired product to be selected from the list using the productID. However, the autosuggest dropdown list only appears if I type a digit in the product ID field. (since the...
sorry Hank,
I think my English is extremely poor, and that's why the problem in which I am trying to ask for help is misunderstood.
My problem is not with identifying the records, but with the...
dear Hank,
the fact that a record have or does not have a unique ID is not the same as whether a problem can be solved or not. The records in the order_details table do not have a unique identifier....
I would like to ask Barry to show the solution in the Lianjademo order details example. Thanks
provided that we do not want to record 2 items of the same product (with the same unit of measure) in an order ... say at a different price (eg discount)
for too long, I have worked with too many...
hi Barry,
Maybe you misunderstood something. This is not "my use" ... I just want to ask for help solving a problem.
I present the problem using the Lianjademo App ... let's look at the order...