Hi Mike,

I'm not sure if this is what you need(watch out line breaks!):

-------------------------<code begin>-----------------------------------
REBOL [
 title: "text list style - example with checkboxes"
 author: [EMAIL PROTECTED]
]

do %../styles/my-list.r ; load the my-list style

demo-data: copy []

repeat n 50 [
 num: form n
 while [(length? num) < 2][insert num "0"]
 insert/only tail demo-data compose/deep [
  [data (false)] ;<-store the current state of checkbox here(can be changed
by user at runtime)
  (join "line " num);some test text
 ]
]

view layout [
 origin 0
 lst: my-list -1x218;autosize width
  columns [ ;'layout' of the columns
  check 24x24 [face/user-data/2: face/data];updates state of cell with
checkbox
  txt 200x24 center
 ]
 data demo-data ;data for the list
 rowbar ["X" "text"] ;rowbar labels for each column
 line-colors reduce [ivory snow]; color pattern for lines in list
]

-------------------------<code end>-----------------------------------

regards,

Cyphre


----- Original Message -----
From: "Mike Yaunish" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 26, 2004 12:32 AM
Subject: [REBOL] Re: Menu in REBOL-View


> Hi guys, I have been playing with the list package and think it's just
what
> I've been looking for.
> Can't seem to get lines added to a list that contain check boxes with any
> success.
> Can you give me a hint?
>
> Mike Yaunish
>
>
> >Hi Lethalman and all,
> >
> >you can grab my latest styles package(still in alpha stage) at:
> >
> >http://www.rebol.cz/~cyphre/cgi-bin/styles-pack.cgi
> >
> >regards,
> >
> >Cyphre
> >
> >----- Original Message -----
> >From: "Gabriele Santilli" <[EMAIL PROTECTED]>
> >To: "Lethalman" <[EMAIL PROTECTED]>
> >Sent: Sunday, October 17, 2004 12:54 PM
> >Subject: [REBOL] Re: Menu in REBOL-View
> >
> >
> > >
> > > Hi Lethalman,
> > >
> > > On Sunday, October 17, 2004, 12:28:17 PM, you wrote:
> > >
> > > L> So, aren't there menus in rebol?
> > >
> > > Cyphre  has  a  menu style with WinXP look that works really well.
> > > The  script  is called ctx-menu.r, not sure if it's in the library
> > > or not, maybe Cyphre can give you a URL.
> > >
> > > Regards,
> > >    Gabriele.
> > > --
> > > Gabriele Santilli <[EMAIL PROTECTED]>  --  REBOL Programmer
> > > Amiga Group Italia sez. L'Aquila  ---   SOON: http://www.rebol.it/
> > >
> > > --
> > > To unsubscribe from the list, just send an email to rebol-request
> > > at rebol.com with unsubscribe as the subject.
> > >
> > >
> >
> >--
> >To unsubscribe from the list, just send an email to rebol-request
> >at rebol.com with unsubscribe as the subject.
>
>
> --
> To unsubscribe from the list, just send an email to rebol-request
> at rebol.com with unsubscribe as the subject.
>

-- 
To unsubscribe from the list, just send an email to rebol-request
at rebol.com with unsubscribe as the subject.

Reply via email to