May 25, 2022, 04:05:08 PM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Extra constants for IWB 3.x

Started by Andy, September 12, 2018, 06:44:17 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andy

September 12, 2018, 06:44:17 AM Last Edit: September 12, 2018, 08:27:24 AM by Andy
Thought I'd add these three constants into a incc file for you all.

They are for setting text vertically in a static:

@SS_VCENTER
CONTROL key,@STATIC,"Key please",20,65,110,25,@CTEDITRIGHT|@SS_VCENTER

Setting text to upper case

@CTEDITUCASE / @CTEDITLCASE
CONTROL key,@EDIT,"",140,65,65,25,@CTEDITCENTER | @CTEDITUCASE, EDIT_1

Setting text to lower case
CONTROL key,@EDIT,"",230,65,65,25,@CTEDITCENTER | @CTEDITLCASE, EDIT_2

Copy the incc file to your IWBDev3\Bin folder.

The @SS_VCENTER is very useful!

I've done this as a stop gap until LarryMc has a chance to update the iwbstd.incc file.

If there's any more you can think of just let me know and I'll see what I can do.

Andy.
:)
Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.