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

New features in the next beta release.
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    KiXforms Forum Index -> Discussion
View previous topic :: View next topic  
Author Message
masken
KiXforms Enthusiast
KiXforms Enthusiast


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

PostPosted: Mon Apr 07, 2003 12:14 pm    Post subject: Reply with quote

Shawn is da shit Very Happy

Would really like to see how the Opacity thing works Smile Gl on the CHM Smile
Back to top
View user's profile Send private message MSN Messenger
Jochen
KiXforms Devotee
KiXforms Devotee


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

PostPosted: Tue Apr 08, 2003 7:42 am    Post subject: Reply with quote

ermmm, correct me if i am way out of line but don't you miss to mention the TabControl (Multipage) Object ?

Will it be there with the next ? If not I'm gonna Crying or Very sad

_________________
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
krabourn
KiXforms Aficionado
KiXforms Aficionado


Joined: 05 Mar 2003
Posts: 273
Location: San Antonio. TX

PostPosted: Tue Apr 08, 2003 11:14 am    Post subject: Reply with quote

Please don't forget tabs. I have an app that is just crying for tabs.

I typed this and then noticed jpols emoticon. Laughing

_________________
Kelly
Back to top
View user's profile Send private message Send e-mail MSN Messenger
SchulieBug
KiXforms Supporter
KiXforms Supporter


Joined: 06 Mar 2003
Posts: 60
Location: Netherlands

PostPosted: Tue Apr 08, 2003 12:37 pm    Post subject: Reply with quote

I really need a .CHM to learn about all the new possibilities !! Way to go Shawn!
_________________
Kind regards
Back to top
View user's profile Send private message Visit poster's website
krabourn
KiXforms Aficionado
KiXforms Aficionado


Joined: 05 Mar 2003
Posts: 273
Location: San Antonio. TX

PostPosted: Sat Apr 12, 2003 1:30 pm    Post subject: Reply with quote

Shawn,

Your documentation says to use .MinimumSize for setting the minimum size of the form, but in kixforms.dll it shows MinSize. MinSize works, Cool but is different from the docs.

_________________
Kelly
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Sat Apr 12, 2003 2:31 pm    Post subject: Reply with quote

ahem ... Embarassed ... guess that somehow slipped through in the latest build ... it was and should be MinimumSize (dotnet) ... already fixed. thanks for finding that.
Back to top
View user's profile Send private message
SchulieBug
KiXforms Supporter
KiXforms Supporter


Joined: 06 Mar 2003
Posts: 60
Location: Netherlands

PostPosted: Wed Apr 16, 2003 2:55 pm    Post subject: Reply with quote

Shawn,

Two questions:

Could Resizable be off by default. If you want a form resizable, you'll have to think about more, like anchors etc, so resizable=True would be just another thing to include in all the changes. Current script however doesn't needed to be changed by default, when using the new KiXforms..

When creating a form whitin a form, the second form doesn't get focus with build 39. Sample code:
Code:

$Form1=CreateObject('KiXtart.Form')
$Form1.Minbutton = 0
$Form1.Maxbutton = 0
$Form1.SysMenu   =1
$Form1.OnClick   ='About_Click()'
$Form1.Center()
$Form1.Show

While $Form1.Visible
   $RC=Execute($Form1.DoEvents)
Loop
Exit


Function About_Click()
   Dim $About,$AboutDisplay,$AboutClose,$AboutHide,$RC

   $About                 =CreateObject('Kixtart.form')
   $About.Caption         ='Test'
   $About.Width           =250
   $About.Height          =250
   $About.Fontname        ='Aerial'
   $About.Fontsize        =9
   $About.Minbutton       =0
   $About.Maxbutton       =0
   $About.SysMenu         =1


   $Abouttext             ='Testing..'
   $AboutDisplay          =$About.Label('Display',7,7,$About.Width-20,$About.Height-80)
   $AboutDisplay.Caption  =$AboutText
   $AboutDisplay.Alignment=$TextAlignment

   $AboutClose            =$About.ToolButton('&Close',($About.Width/2)-50,$About.Height-51,100,22)
   $AboutClose.Onclick    ='$$About.Hide'
   $AboutClose.Icon      = 14
   $AboutClose.Default    =True
   $AboutClose.Tooltip   = 'Close the information screen'

   $AboutHide             = $About.CommandButton('',0,0,-1,-1)
   $AboutHide.OnClick     ='$$About.Hide'
   $AboutHide.Cancel      =1

   $About.Show
   $AboutClose.SetFocus

   While $About.Visible
      $RC=Execute($About.DoEvents)
   Loop
EndFunction

_________________
Kind regards
Back to top
View user's profile Send private message Visit poster's website
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Wed Apr 16, 2003 3:17 pm    Post subject: Reply with quote

The form focus thingy I think is related to a build 39 bug that has to do with child forms not being enabled correctly when shown. This has been fixed in build 40.

The resizable form thingy was something I put into the beta on purpose. I was looking (hoping) for some reaction. The default in dotnet is to have the form as resizable - but I had the same thoughts as you. For the purposes of most scripts - the resizable setting is over-kill. I will put the setting back to fixed in build 40.

Build 40 is due out this weekend but I think I can squeeze in a couple more enhancements by then:

1) Im currently working on the BrowseFolderDialog class.

2) Im making a small (backward compatible) enhancement to the ListView.Items collection ... in build 40, one will be able to "address" an item directly in the ListView by using row/column type indexes in the Items property, for example:

$ListView.Items ( Row, Column ).Text = "Whatever"

Think this adds a whole new level of intuitive-ness to the interface. Of course, all the old style addressing will be maintained as well. You can think of this as a shortcut to the SubItems collection. In all of my testing to date, works well and reads really nice.

-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: Wed Apr 16, 2003 3:30 pm    Post subject: Reply with quote

Speaking of the BrowseFolderDialog class, i can sometimes have real difficulty when trying to think-up names for some of these classes. I'm having a more-than-usual hard time thinking up the name for the BrowseForFolder functionality ... the following are the candidates (anyone can comment or suggest others) ...

FolderBrowserDialog (dotnet)
FolderBrowseDialog
BrowseFolderDialog
BrowseForFolderDialog
FolderDialog (which browses)

STFW reveals class names that are all over the map for this object. And keep in mind that there will be other browsers down the road, ex:

NetworkBrowser
DomainBrowser

I would like to keep the phrase "Dialog" in there. Plus the existing naming scheme looks like this:

OpenFileDialog
SaveFileDialog
ColorDialog
FontDialog

so the naming scheme is FunctionObjectDialog example "OpenFileDialog" - if thats the case then it should be BrowseFolderDialog i guess - but dotnet is getting more and more inconsistent with names - which is one of my pet peeves.

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


Joined: 05 Mar 2003
Posts: 436
Location: Boston, MA

PostPosted: Wed Apr 16, 2003 3:42 pm    Post subject: Reply with quote

I would go for either the DotNet "FolderBrowserDialog" or the "BrowseFolderDialog" name. However, the second one sounds a little bit easier and more consistent.
_________________
Jens

'There are two kinds of vessels, submarines and targets.'
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Wed Apr 16, 2003 4:00 pm    Post subject: Reply with quote

here, here - to be honest, i didn't even realize dotnet had a BrowseForFolder Dialog until I just happened to bump into it by accident. It was listed in the index alphabetically under Folder and that didn't seem to be the first place I wanted to look. So if we go with that, the others would be called:

BrowseNetworkDialog
BrowseDomainDialog
BrowsePrinterDialog ?

dotnet makes me angry because their BrowsePrinter dialog is just called PrintDialog ... using that it would be:

NetworkDialog
FolderDialog
DomainDialog
PrintDialog

I know I'm being a little anal-retentive here but i like having consistency in naming schemes and to be honest (and maybe most importantly) i want to use names that "you dont have to even think about" ... having said that, maybe inconsistent names is the only solution. Or maybe just stick with dotnet to avoid confusion down the road.
Back to top
View user's profile Send private message
Chris S.
KiXforms Enthusiast
KiXforms Enthusiast


Joined: 05 Mar 2003
Posts: 241

PostPosted: Wed Apr 16, 2003 4:07 pm    Post subject: Reply with quote

Shawn, stick to your guns and go for consistancy. I really don't think that the KiX population, as a whole, is programming in dotnet so what will it really matter if it doesn't exactly match up with dotnet. Perhaps, if you show MS the errors of their ways they will conform. Wink

Personally, I think that whatever makes it easier to remember and use is better.
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: Wed Apr 16, 2003 4:11 pm    Post subject: Reply with quote

Chris, so whats your recommendation for the new name ?
Back to top
View user's profile Send private message
Sealeopard
KiXforms Aficionado
KiXforms Aficionado


Joined: 05 Mar 2003
Posts: 436
Location: Boston, MA

PostPosted: Wed Apr 16, 2003 4:32 pm    Post subject: Reply with quote

Hmm, I'd go for "NetworkDialog" because it saves six keystrokes Wink
_________________
Jens

'There are two kinds of vessels, submarines and targets.'
Back to top
View user's profile Send private message Send e-mail MSN Messenger
krabourn
KiXforms Aficionado
KiXforms Aficionado


Joined: 05 Mar 2003
Posts: 273
Location: San Antonio. TX

PostPosted: Wed Apr 16, 2003 5:55 pm    Post subject: Reply with quote

Here is a more generic way to look at the question.

Which one do you want

    Action / Object - BrowseFolderDialog
    Object / Action - FolderBrowseDialog
Unless you want to rename the current dialog objects, I would go with the naming convention that is used by the majority of the current objects in kixforms to keep it consistant. I think Action/Object is used more, but I don't know for sure.

That is it for my suggestion.

_________________
Kelly
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> Discussion All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
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