WinBatch® Technical Support Forum

Archived Boards => WinBatch Dynamic Dialogs => Topic started by: JTaylor on January 16, 2017, 11:34:45 AM

Title: Type of CONTROL
Post by: JTaylor on January 16, 2017, 11:34:45 AM
Been thinking about things that would be nice to have in WinBatch and which might be doable before you all turn off the lights, hence a few of my recent posts, so here is another....

Not sure if this is just me but there occasions where it would be VERY nice to know what type of control with which I am working.

A case in point is the Resize/Move code I posted.  I have to refresh controls after the resize/move action because they sometimes don't show up clean but there is no good refresh option for Pictures, PictureButtons or Calendars so I skip those.  For me I used a naming convention that allows me to solve the problem but having a way to check the type would provide a foolproof way that works for everyone.

I have run into this before but can't recall those situations.

Thanks.

Jim
Title: Re: Type of CONTROL
Post by: kdmoyers on January 17, 2017, 09:19:46 AM
Yeah, using a naming convention to determine type worked for me.  It came up while I was doing my tabbed panel thingy.
-Kirby