PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Create horizontal shape.How to Change Direction or Background Color!
Create horizontal shape.How to Change Direction or Background Color!
Iniciado por fuer_css, 23,mar. 2015 16:08 - 3 respuestas
Publicado el 23,marzo 2015 - 16:08
Hello,

My major Wish is to create horizontal lines with typeshape and "controlcreate()".
I have a problem with the direction of shapes created with "controlcreate()". They are created vertically, and I want to change their Direction to horizontal to get a horizontal line. Modifying a manually created shape in the details-tab works, because there is the option called "Display Direction", but I didn't found a command for doing this by programming.
Does someone know how to change the direction by programming?

OR:
I also thought of coloring its background with "..brushcolor = xxx" to get a black vertical line and a black background. the The control is created like []=control border , ||=line [ || ]. With black line and black background it would look like a horizontal line. But the "..brushcolor = xxx"-command doesn't change the backgroundcolor. It looks like doing nothing. Trying to modify it in the description of a manually created shape seems to work only with gradient colors.
How can I change the background color by programming?

ONE last idea was to make the vertical line thicker, so it also looks horizontally.
How can I change the thickness of a created shape by programming? (..thickness doesn't work)

Hope for your Help!
Greetings :)
Publicado el 07,abril 2016 - 14:31
Could yo do it? and if you could, how?
Publicado el 07,abril 2016 - 14:32
could you do it? and if you could, how?
Publicado el 07,abril 2016 - 15:16
Hi,

If it's just about a line, an image field and dline will do the trick

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)

More information on http://www.fabriceharari.com


On 4/7/2016 6:32 AM, JMT wrote:
> could you do it? and if you could, how?