#88397 - 2002-10-03 05:13 AM
Re: Kixforms - Version 2.1 (Build 35) Pre-Release Round Up
|
Redback
Getting the hang of it
Registered: 2002-03-20
Posts: 71
Loc: Albury Wodonga, Australia
|
can i have a progress bar that is solid rather than being made up of blocks?
|
Top
|
|
|
|
#88398 - 2002-10-03 11:41 AM
Re: Kixforms - Version 2.1 (Build 35) Pre-Release Round Up
|
rclarke
Starting to like KiXtart
Registered: 2001-06-08
Posts: 178
Loc: Oxfordshire, United Kingdom.
|
Hi Redback,
You can achieve a solid ProgressBar in code. Try the following out to give you an idea:
code:
Break On
$Form = CreateObject("Kixtart.Form") $Form.Width = 226 $Form.Height = 100 $Form.Text = "Solid ProgressBar" $Form.Center
$PictureBox = $Form.PictureBox("",10,10,200,22) $PictureBox.BorderStyle = 5
$CommandButton = $Form.CommandButton("Start",70,43,80,22) $CommandButton.OnClick = "PBar()"
$Form.Show
While $Form.Visible $=Execute($Form.DoEvents()) Loop
Exit 1
Function PBar() $PictureBox.BackColor = $Form.BackColor $PictureBox.ForeColor = 0,0,255 $PictureBox.FillColor = 0,0,255 $PictureBox.FillStyle = 1 For $count = 1 to 196 $PictureBox.Rectangle(1,1,$count,18) $ticks = @ticks While @ticks<$ticks + 25 Loop Next EndFunction
{Edit}Edited code so that the PictureBox clears when the start button is pressed.{/Edit}
Rod. [ 03. October 2002, 13:07: Message edited by: rclarke ]
|
Top
|
|
|
|
#88403 - 2002-10-03 04:30 PM
Re: Kixforms - Version 2.1 (Build 35) Pre-Release Round Up
|
punkie
Getting the hang of it
Registered: 2002-06-23
Posts: 67
|
Will the multi-line ToolTip be supported in this release? I think someone mentioned this in a previous post or something.
One thing that i'm missing is OnMouseOver so you can show a short description of an item in a label or textbox. I'm guessing it won't be added anytime soon but I hope it's on the to-do list.
|
Top
|
|
|
|
#88405 - 2002-10-03 05:47 PM
Re: Kixforms - Version 2.1 (Build 35) Pre-Release Round Up
|
punkie
Getting the hang of it
Registered: 2002-06-23
Posts: 67
|
Oops I missed that one, thanks for pointing it out
|
Top
|
|
|
|
#88406 - 2002-10-03 05:50 PM
Re: Kixforms - Version 2.1 (Build 35) Pre-Release Round Up
|
Shawn
Administrator
Registered: 1999-08-13
Posts: 8611
|
Ok, the three styles of ComboBox are done. Behavior is as outlined in previous post.
The SMOOTH style for ProgressBar is done. It now responds to the STYLE (yeah?) property with the following settings:
0 = Chunky 1 = Smooth
[ anyone for peanut butter? ]
The ToolTip thingy I am game for ... but needs some discussion. In order to do this properly, would anybody "mind" if I introduced a new way of accessing the ToolTip property for all objects ? Basically what I'm saying is that I want break the interface and change things.
Right now, the ToolTip property is simply a read-writable text string, like this:
code:
$Button.ToolTip = "Press me"
What I would like to do is turn this simple text property into an embedded object (within each object) ... so to setup a ToolTip going forward, one would say this:
code:
$Button.ToolTip.Text = "Press Me" $Button.ToolTip.Width = 50 ; Lines will wrap at 50 $Button.TollTip.Style = 1 ; Regular or Balloon ?
This will give us much more flexibility. There are some more ToolTip features I would like to enable, for example - having Balloon ToolTips (like with MSAgent?) (I can already here Radimus groaning) and embedding icons in ToolTips (fe. a ToolTip that looks like a Windows MessageBox) ...
Anyways, thats the score - if we go this way - can probably have something going by Saturday ... think about it. I know its not good COM practice to keep change the interface, but this has always been a moving target. Plus there are plans for many more embedded (embeddable) objects down the road (like Menus, ToolBars, StatusBars and ImageLists)
-Shawn [ 03. October 2002, 17:55: Message edited by: Shawn ]
|
Top
|
|
|
|
#88407 - 2002-10-03 06:08 PM
Re: Kixforms - Version 2.1 (Build 35) Pre-Release Round Up
|
Chris S.
MM club member
Registered: 2002-03-18
Posts: 2368
Loc: Earth
|
I'd rather have it redone if it means doing it the 'right' way or in a way that supports the evolution of KiXforms. If my vote counts, go for the ToolTip change.
As far as other embeddable ojects go. Is Context Menu on the list?
|
Top
|
|
|
|
Moderator: Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart
|
0 registered
and 370 anonymous users online.
|
|
|