April 16, 2024, 02:53:23 AM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


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.