By cell I mean the value that is going to be rendered in the gui component
- in the TextField in this case.
I get a "val> -- Bad message" when I try this -
(<table> NIL NIL
'(NIL NIL NIL NIL)
(do 5
(<row> (alternating)
(if (val> (: home ttl)) (gui 1 '(+TextField) 20 3) (gui 1
'(+TextField) 150 3))
(gui 2 '(+DateField))
(gui 3 '(+TimeField))
(gui 4 '(+InsRowButton))
(gui 5 '(+DelRowButton))
)
)
)
The complete code is here
<https://github.com/ckkashyap/picolispAppPractice/blob/685128d23e67daf2895ce2b683cedd696ca877a2/step06/task.l#L26>
(with a different condition) -
Regards,
Kashyap
On Wed, Dec 18, 2019 at 9:28 AM Alexander Burger <[email protected]>
wrote:
> On Wed, Dec 18, 2019 at 08:23:54AM -0800, C K Kashyap wrote:
> > Digging through the source of +DelRowButton I found (: chart 1 data) ->
> > this returns all the rows at once though.
>
> There are many possibilities, depending on what data you want.
>
> Best are the 'val>' methods of the charts and the individual fields.
>
> > In the above code, I'd like SOME_CONDITION to be based on the value in
> the
> > cell.
>
> Which cell do you mean? One of the field? You can get the value of for
> example
> the previous field with
>
> (val> (field -1))
>
> (or (val> (field -5)) to get the value one row up).
>
> Or (val> (: home someName)) for named 'gui' components.
>
> ☺/ A!ex
>
>
>
>
> --
> UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe
>