Author Topic: DCL question...  (Read 2777 times)

0 Members and 1 Guest are viewing this topic.

Andrea

  • Water Moccasin
  • Posts: 2372
DCL question...
« on: June 01, 2006, 07:26:47 PM »
Ok now....maybe another stupid question...
but will be the last.....(for today)   :wink:

How can I change a label of a simple DCL button ?

DCL =
Code: [Select]
: button {
        label = "TEST";
key = "test";
alignment = centered;
         width = 12;

}

LSP=
Code: [Select]
(set_tile "test" "hello")
not working.

didn't toutch the DCL since release 9.. :-o
Keep smile...

Serge J. Gianolla

  • Guest
Re: DCL question...
« Reply #1 on: June 01, 2006, 07:45:55 PM »
didn't toutch the DCL since release 9.. :-o

Ben t'es fort toi, car les DCL sont depuis R.12! :lmao: :? How havya been, paesano?

Andrea

  • Water Moccasin
  • Posts: 2372
Re: DCL question...
« Reply #2 on: June 01, 2006, 09:31:42 PM »
Hey Srgio....how r u ?

Like I said....had a bad day today...
I work AutoCAD since 2.1....so don't remember exactly the release...
but thanks to remind me... :-)

you can take e look to here
Keep smile...

Andrea

  • Water Moccasin
  • Posts: 2372
Re: DCL question...
« Reply #3 on: June 02, 2006, 01:34:41 PM »
woo !! I can't find anything about that on the net.... :|
Keep smile...

T.Willey

  • Needs a day job
  • Posts: 5251
Re: DCL question...
« Reply #4 on: June 02, 2006, 01:49:47 PM »
AFAIK, you can't change the label of something in the dcl.  If you wanted to change the label, then you would have to define it on the fly with each use.
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.

Andrea

  • Water Moccasin
  • Posts: 2372
Re: DCL question...
« Reply #5 on: June 02, 2006, 01:56:11 PM »
aaahhhggg !!

odcl !!! i miss you !!!
:cry:
Keep smile...

kozmos

  • Newt
  • Posts: 114
Re: DCL question...
« Reply #6 on: June 03, 2006, 11:01:22 AM »
KozMos Inc.

GDF

  • Water Moccasin
  • Posts: 2081
Re: DCL question...
« Reply #7 on: July 27, 2006, 10:59:08 AM »
Ok now....maybe another stupid question...
but will be the last.....(for today)   :wink:

How can I change a label of a simple DCL button ?

DCL =
Code: [Select]
: button {
        label = "TEST";
key = "test";
alignment = centered;
         width = 12;

}

LSP=
Code: [Select]
(set_tile "test" "hello")
not working.

didn't toutch the DCL since release 9.. :-o



Sorry, but I just noticed this post. Here is what I would do. Create an image button to look like a button with a label...that
way you can change the slide to be a new label. I have not tried this with a label to look like text, but I do it all of the time
with buttons that have slide images.

For toggles, sliders and radio buttons you can just seperate the button from the label.


Gary
Why is there never enough time to do it right, but always enough time to do it over?
BricsCAD 2020x64 Windows 10x64