Tests with OpenDCL 4.1.0.7 Alpha

Started by velasquez, September 18, 2007, 11:24:15 AM

Previous topic - Next topic

velasquez

Working with OpenDCL 4.1.0.7 Alpha found the problems below: 
 
1 - alert on the function dcl_TextBox_SetFilter 
2 - GraphicButton stopped to work with files of icons  "*.ico" 
3 - dcl_Control_SetFontSize in this working different in Control of Label 
 
Were these problems already mentioned? 
 
I posted images to show this

[attachment deleted by admin]

owenwengerd

Quote from: velasquez on September 18, 2007, 11:24:15 AM
1 - alert on the function dcl_TextBox_SetFilter 
2 - GraphicButton stopped to work with files of icons  "*.ico" 
3 - dcl_Control_SetFontSize in this working different in Control of Label 

1) This feature is not yet implemented. Can you describe how you are using it?

2) Try setting both the Pressed and Unpressed picture properties for those buttons. Those properties were switched before Alpha 7, and Alpha 7 corrected this.

3) SetFontSize changed in an earlier alpha to correct inconsistencies in its implementation for different controls. Try changing the sign of your font size (i.e. if you are setting a positive value, change it to negative) and let me know whether that solves the problem.
Owen Wengerd (Outside The Box) / ManuSoft

velasquez

1) I am using dcl_TextBox_SetFilter in OnInitialize

(defun c:JoyLoop_JoyMainLoop_OnInitialize (/)
;;;
  (Dcl_Form_Center JoyLoop_JoyMainLoop)
;;;
  (Dcl_BlockView_DisplayBlock JoyLoop_JoyMainLoop_JoyBlockIso "JoyIso")
;;;
;;;Testing Alpha 7 
;;;Not this working
  (dcl_TextBox_SetFilter JoyLoop_JoyMainLoop_TextBox10 ".0123456789")
)


2) The property PressedPicture accepted the icon file. 
The property Picture not accepts the icon file. 
Is it this what you wanted to explain? 

3) I changed the value of SetFontSize for negative. 
This worked. 
To get FontSize 28 I needed to use (dcl_Control_SetFontSize JoyLoop_JoyMainLoop_Label12 -22). 
Does this difference exist?

[attachment deleted by admin]

owenwengerd

Quote from: velasquez on September 19, 2007, 10:17:42 AM
  (dcl_TextBox_SetFilter JoyLoop_JoyMainLoop_TextBox10 ".0123456789")

This filter is almost identical to the filter for "Numeric" style. Until filters are implemented, you could change your text box style to "Numeric".
 

Quote from: velasquez on September 19, 2007, 10:17:42 AM
2) The property PressedPicture accepted the icon file. 
The property Picture not accepts the icon file. 
Is it this what you wanted to explain?

Can you email the .odcl file to me so I can have a look?


Quote from: velasquez on September 19, 2007, 10:17:42 AM
To get FontSize 28 I needed to use (dcl_Control_SetFontSize JoyLoop_JoyMainLoop_Label12 -22). 

Setting font size to -22 means that you want the characters to be 22 pixels tall. A size of +28 means 28 "points", which means the size in pixels will change depending on your screen resolution.
Owen Wengerd (Outside The Box) / ManuSoft

velasquez

Ok Owen
I will send for you the files .odcl and .lsp 
Thanks

owenwengerd

Quote from: velasquez on September 19, 2007, 12:29:21 PM
I will send for you the files .odcl and .lsp 

After researching this some more, I found that the "PressedPicture" is not the picture that displays when the button is pressed. Instead, it is the picture that displays when the mouse is over the button. Therefore, I have switched the picture properties back to the way they were before Alpha 7, and renamed the "PressedPicture" property to "MouseOverPicture" to make this more clear.
Owen Wengerd (Outside The Box) / ManuSoft

Kerry


Seeing the pictures, I'm reminded ;

With the rework to controls,
Can the text in textbox controls be justified vertically ( particularly to center ) ?
Perfection is not optional.
My other home is TheSwamp

velasquez

Why the property DropDownHeight of ComboBox doesn't work more? 
That is a bug or she will be removed of this control?

Kerry

Quote from: owenwengerd on September 19, 2007, 01:09:58 PM
Quote from: velasquez on September 19, 2007, 12:29:21 PM
I will send for you the files .odcl and .lsp 

After researching this some more, I found that the "PressedPicture" is not the picture that displays when the button is pressed. Instead, it is the picture that displays when the mouse is over the button. Therefore, I have switched the picture properties back to the way they were before Alpha 7, and renamed the "PressedPicture" property to "MouseOverPicture" to make this more clear.
Owen, Is this related ??
https://sourceforge.net/tracker/index.php?func=detail&aid=1798572&group_id=187950&atid=923363
Can you clarify your intent ? ie will the default pictures display as per previous versions.
Perfection is not optional.
My other home is TheSwamp

Kerry

Quote from: owenwengerd on September 19, 2007, 11:25:39 AM

Quote from: velasquez on September 19, 2007, 10:17:42 AM
To get FontSize 28 I needed to use (dcl_Control_SetFontSize JoyLoop_JoyMainLoop_Label12 -22). 

Setting font size to -22 means that you want the characters to be 22 pixels tall. A size of +28 means 28 "points", which means the size in pixels will change depending on your screen resolution.

Reminder :
The Help for dcl_Control_SetFontSize will need to be updated ;
currently reads "This is a hidden property that can not be set directly."
Perfection is not optional.
My other home is TheSwamp

owenwengerd

Quote from: velasquez on September 20, 2007, 06:24:19 AM
Why the property DropDownHeight of ComboBox doesn't work more? 
That is a bug or she will be removed of this control?

That is a bug. I should be fixed in Alpha 8. :)
Owen Wengerd (Outside The Box) / ManuSoft

owenwengerd

Owen Wengerd (Outside The Box) / ManuSoft

Kerry

Perfection is not optional.
My other home is TheSwamp