KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

Update - Kixforms Classic
Goto page 1, 2, 3, 4, 5, 6  Next
 
Post new topic   Reply to topic    KiXforms Forum Index -> Discussion
View previous topic :: View next topic  
Author Message
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Wed May 03, 2006 6:03 pm    Post subject: Update - Kixforms Classic Reply with quote

Just by way of an update:

Believe it or not - I have been working much on Kixforms.Classic the past few weeks (yes, you read that right) ... I am doing (have done) the following:

1) Been working on getting the latest DEV build ready to move into "the current build" - in order to do that have done ...

2) Been updating the documentation much.

3) I have decided to remove the GridView from the CHM (for now) - this has been the thing that has been gumming-up the works. The GridView is still there - just not documented. I will revisit GridView later on. Might re-work it (super-simplify it) - we'll see.

4) I have created a new (yet another) way of creating controls - this will be the going-forward approach to control creation - plus, it makes more sense from a CHM stand-point. And its more dotnet-like, it looks like this:

$Button = $Form.Controls.Add("Button")

Controls created using this new method will "look" more dotnet-like as well - they have the same default properties as dotnet. The old methods still very-much work btw

5) I have been enhancing some the property setting features of kf.classic for example, TextAlign can be specified two ways:

$Label.TextAlign = 1

$Label.TextAlign = "TopLeft"

Lots of kf properties have this feature already - just adding more of it. I am abandoning the old dotnet-like approach of using this:

$Label.TextAlign = $System.TextAlign.TopLeft

Nobody used it anyways - and it was alot of typing.

6) I have documented the FromBase64String stuff (for Bitmap)

7) I am completely re-vamping the event handling in kf.classic - going to be borrowing much from kf.net on this one. Most of it will be transparent and back-compat but for those that use TreeView.BeforeExpand/AfterSelect and MouseUp/Down/Move/Enter - there may be a small difference.

8) Heres the big news - based on a suggestion from Les - I am currently working on a new control. Its the MaskedTextBox control. This will allow you to specify an input mask (validation mask) for text entry - in a textbox. Very exicted about this one.

9) There is a new SHELL function in the System object, it works like this:

$Text = $System.Shell("cmd /c dir c:\")

And the output from the command will be redirected and returned to the $Text variable.

Anyways - basically what I am trying to do is do more of the stuff that works (that I think works) - and drop the stuff thats crap. Plus, get the documentation in a better state - and get the Dev. build out-there.

If anyone has an opinion on other stuff that works (lets do more of it) versus what is crap (lets do less of it, or get rid of it) - let me know. Post it here - don't be shy - won't hurt my feelings.

-Shawn
Back to top
View user's profile Send private message
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Wed May 03, 2006 7:01 pm    Post subject: Reply with quote

Agreed and approved for what I read by now... will keep the GridView in mind (and samples I wrote ready).

Documentation is a very good thing to work on.
As long as the new way of creating of objects won't break older scripts, I will not argue about it Silenced

Quote:

I am abandoning the old dotnet-like approach of using this:
$Label.TextAlign = $System.TextAlign.TopLeft
Nobody used it anyways - and it was alot of typing.


Good call ... what was that anyways ?

Quote:

7) I am completely re-vamping the event handling in kf.classic - going to be borrowing much from kf.net on this one. Most of it will be transparent and back-compat but for those that use TreeView.BeforeExpand/AfterSelect and MouseUp/Down/Move/Enter - there may be a small difference.


Eh, that will break older scripts, no? Sceptic


Quote:

Cool Heres the big news - based on a suggestion from Les - I am currently working on a new control. Its the MaskedTextBox control. This will allow you to specify an input mask (validation mask) for text entry - in a textbox. Very exicted about this one.


What's that again? Don't get it Confused

Quote:

Text = $System.Shell("cmd /c dir c:\")

And the output from the command will be redirected and returned to the $Text variable.


Uhhhhh, that's sexy my friend Stunned

_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
pearly
KiXforms Aficionado
KiXforms Aficionado


Joined: 27 Jan 2004
Posts: 332

PostPosted: Wed May 03, 2006 7:39 pm    Post subject: Reply with quote

great news! i'm still using kf classic and i'm glad it's still getting some attention.

thanks!
Back to top
View user's profile Send private message
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Wed May 03, 2006 8:28 pm    Post subject: Reply with quote

Nothing will break - well, almost nothing - the only thing where there will be a slight change is the TreeView.BeforeExpand event. Thats it - everything else (that I can think of right now) should be 100% compatible. If you create controls "the old way", they should look and act just like they did before.

The MaskedTextBox will allow one to display a TextBox with "a mask", like a phone number:

Phone Number (____) ___-____ ext _____

Then - as the user types the number, the control will edit the characters, and sqwak if something gets entered wrong. Think of an IP address:

IP Address: ___.___.___

The control wont let you enter anything other than 0-255 in the octets. Ja ?
Back to top
View user's profile Send private message
benny69
KiXforms Advocate
KiXforms Advocate


Joined: 30 Oct 2003
Posts: 567
Location: Lincoln, Ne

PostPosted: Thu May 04, 2006 12:40 am    Post subject: Reply with quote

Wow! Shawn, you never let the fun end.

Thank You For all the hard work you do.

_________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)
Back to top
View user's profile Send private message Send e-mail
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Thu May 04, 2006 6:04 am    Post subject: Reply with quote

allright,

got the point of MaskedTextBox ... quite useful, yeah Very Happy

_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
masken
KiXforms Enthusiast
KiXforms Enthusiast


Joined: 14 Mar 2003
Posts: 202
Location: Gothenburg, Sweden

PostPosted: Thu May 04, 2006 9:26 am    Post subject: Reply with quote

Very useful indeeed Smile

Nice work shawn! Seems that the focus and efforts are aimed correctly here! Smile

btw, have you considered more about what to do with the classic/net thing? Regarding the forum too etc?
Back to top
View user's profile Send private message MSN Messenger
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Fri May 05, 2006 6:11 pm    Post subject: Reply with quote

I have posted the lastest version of the Kixforms.Classic Development Build ... you can get it here:

Kixforms Classic Development Build

It has the new System.Shell method and the new MaskedTextBox control. They are documented but I will be posting two demo scripts shortly ...

If anyone would like to verify any existing scripts against this new build and advise, would be much appreciated...

-Shawn
Back to top
View user's profile Send private message
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Fri May 05, 2006 6:13 pm    Post subject: Reply with quote

Here is a demo script using the new MaskedTextBox control ... I only have a couple of demo masks ... if anyone wants to post any more example masks - will include them into the script:


mask.kix
 Description:
mask.kix

Download
 Filename:  mask.kix
 Filesize:  1.55 KB
 Downloaded:  1654 Time(s)

Back to top
View user's profile Send private message
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Fri May 05, 2006 6:14 pm    Post subject: Reply with quote

Here is a script using the new System.Shell property. Comments and feedback welcome:


shell.kix
 Description:
shell.kix

Download
 Filename:  shell.kix
 Filesize:  1.91 KB
 Downloaded:  1719 Time(s)

Back to top
View user's profile Send private message
pearly
KiXforms Aficionado
KiXforms Aficionado


Joined: 27 Jan 2004
Posts: 332

PostPosted: Fri May 05, 2006 6:31 pm    Post subject: Reply with quote

woohoo! new kf classic build. thanks!
Back to top
View user's profile Send private message
pearly
KiXforms Aficionado
KiXforms Aficionado


Joined: 27 Jan 2004
Posts: 332

PostPosted: Fri May 05, 2006 6:33 pm    Post subject: Reply with quote

where can i find the complete list to all of the collections (i.e. Items collection, SelectedItems collection for Listview)?

the documentation only has Count property for both collections.
Back to top
View user's profile Send private message
pearly
KiXforms Aficionado
KiXforms Aficionado


Joined: 27 Jan 2004
Posts: 332

PostPosted: Fri May 05, 2006 6:39 pm    Post subject: Reply with quote

So...this piece of code is in mask.kix :

Code:
$System = CreateObject(IIf($dotnet,"Kixforms.Application","Kixtart.System"))


What does it mean? You mentioned in an earlier thread to ignore it. Spill it! Wink

Edit : I'm also getting these weird messages in the cmd window

from mask.kix

Code:
51050MaskMiddleLeft389Mask(999)-000-0000(\9\05) 000-0000 EXT 99990-9][0-9]99900>


from shellkix

Code:
5565Command:MiddleLeft50213cmd /c dir %systemroot%Execute9ExecuteButton_Click())


Edit : Weird messages resolved by rebooting

Edit : This is sooo cool ! Sample scripts are awesome
Back to top
View user's profile Send private message
pearly
KiXforms Aficionado
KiXforms Aficionado


Joined: 27 Jan 2004
Posts: 332

PostPosted: Fri May 05, 2006 6:59 pm    Post subject: Reply with quote

sorry for these crazy multiple replies.

for the System.Shell property, is there any way to hide the cmd window when it's executed?

currenlty, i'm seeing the cmd.exe window blip for a second then disappear.

make it act like wkix32?
Back to top
View user's profile Send private message
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Fri May 05, 2006 7:10 pm    Post subject: Reply with quote

damn, I keep forgetting to remove my variable CreateObject stuff Wink. No big secret or anything - I am testing a special version of Kixforms.Net that is almost 100% compatible with kf.classic. I am using this special version to ensure (as much as possible) whether kf.classic is looking/acting like dotnet. Whether this special version of kf.net ever gets released - I dont know.

I was kind of expecting the comment about the Shell method. Your not using the DOS prompt to launch the script (i assume) ?. I am thinking about adding a new parameter to the function like this:

$Text = $System.Shell("command", windowstyle, redirection)

-Shawn


Last edited by Shawn on Fri May 05, 2006 7:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> Discussion All times are GMT
Goto page 1, 2, 3, 4, 5, 6  Next
Page 1 of 6

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group