combometro bug
- Richard Chidiak
- Posts: 946
- Joined: Thu Oct 06, 2005 7:05 pm
- Location: France
- Contact:
combometro bug
Good morning
There is a bug in calculating the coordinates of the combometro. A big space before the elements is shown and it is not always the same spacing depending on what element you selected.
I join an image to show the problem.
Richard
There is a bug in calculating the coordinates of the combometro. A big space before the elements is shown and it is not always the same spacing depending on what element you selected.
I join an image to show the problem.
Richard
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: combometro bug
Actually this is not a bug.There is a bug in calculating the coordinates of the combometro. A big space before the elements is shown and it is not always the same spacing depending on what element you selected.
This is how we designed when we first made the class long time back.
Well you can say we ought to have designed it differently.
We welcome any suggestions.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- Richard Chidiak
- Posts: 946
- Joined: Thu Oct 06, 2005 7:05 pm
- Location: France
- Contact:
Re: combometro bug
Mr Rao
Personnally i have never seen a combobox starting in the middle of a rectangle or any other random place
If it is a design issue.....
I would suggest we have a standard behaviour (starting at the beginning)
Thank you
Richard
Personnally i have never seen a combobox starting in the middle of a rectangle or any other random place
If it is a design issue.....
I would suggest we have a standard behaviour (starting at the beginning)
Thank you
Richard
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: combometro bug
I agree the design needs to be modified somewhat.
But here the selected item appears just at the place of the control.
We shall soon have a relook into this to match windows 8 behavior exactly.
But here the selected item appears just at the place of the control.
We shall soon have a relook into this to match windows 8 behavior exactly.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- Richard Chidiak
- Posts: 946
- Joined: Thu Oct 06, 2005 7:05 pm
- Location: France
- Contact:
Re: combometro bug
VIDEO here
http://www.atzwanger-software.com/fw/cm.wmv
Shows the blank lines at the top or at the end of ComboMetroBox.
Hallo Antonio,
I put a small repetition.
COMBOMETRO is quite urgent for the whole Metro Style like programming capabilities of FIVEWIN.
Metro Style like programming capabilities of FIVEWIN is the main advantage Fivewin has over the other programming languages. There are afaik no other languages offering this possibility.
The next years (5-7) will not have much real Metro Style programs ready.
First missing hardware – these only run on W8 system
Second you cannot transform a whole program in short time.
So a step by step transformation would be best. Metro Style is a design concept which you have to get used to.
Please Antonio would you be so kind to fix these little problems.
Best regards,
Otto
http://www.atzwanger-software.com/fw/cm.wmv
Shows the blank lines at the top or at the end of ComboMetroBox.
Hallo Antonio,
I put a small repetition.
COMBOMETRO is quite urgent for the whole Metro Style like programming capabilities of FIVEWIN.
Metro Style like programming capabilities of FIVEWIN is the main advantage Fivewin has over the other programming languages. There are afaik no other languages offering this possibility.
The next years (5-7) will not have much real Metro Style programs ready.
First missing hardware – these only run on W8 system
Second you cannot transform a whole program in short time.
So a step by step transformation would be best. Metro Style is a design concept which you have to get used to.
Please Antonio would you be so kind to fix these little problems.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: combometro bug
Otto, Richard,
There is a quick fix thats seems to work
In combom.prg line 411:
nTopRows := 0 // instead of nTopRows -= n
Please try it on your apps and let me know your results, thanks
There is a quick fix thats seems to work
In combom.prg line 411:
nTopRows := 0 // instead of nTopRows -= n
Please try it on your apps and let me know your results, thanks
- Richard Chidiak
- Posts: 946
- Joined: Thu Oct 06, 2005 7:05 pm
- Location: France
- Contact:
Re: combometro bug
Antonio
The change is ok, the combo shows now from the beginning
Thank you
Richard
The change is ok, the combo shows now from the beginning
Thank you
Richard
Re: combometro bug
Hello Antonio,
this fix does not resolve the problem. With this fix the comboBox has no blank rows at top still on bottom but the item which is selected is somewhere.
Not over the “getfield”.
This version still has the problem with the color of the selected row. In the copy I work with I changed following line.
::bClrSelFocus := { || { CLR_WHITE, CLR_GREEN } } //otto
Best regards,
Otto
this fix does not resolve the problem. With this fix the comboBox has no blank rows at top still on bottom but the item which is selected is somewhere.
Not over the “getfield”.
This version still has the problem with the color of the selected row. In the copy I work with I changed following line.
::bClrSelFocus := { || { CLR_WHITE, CLR_GREEN } } //otto
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: combometro bug
Otto,
Do you mean to have the same standard Windows (desktop) combobox behavior ?
Do you mean to have the same standard Windows (desktop) combobox behavior ?
Re: combometro bug
Hello Antonio,
if you use this version on a white window you do not see anything.
Best regards,
Otto
if you use this version on a white window you do not see anything.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************