|
|
| Tom Gormley 2005-11-18, 8:23 pm |
| The way combo boxes display and accept data in dbase plus ver 2.6 has
changed and is causing problems on forms originally with earlier versions.
The combobox now seems to right align the field contents and if the Field
lenght is longer than the maximum number of chars the first chars if the
field are hidden.
Does any know why this has changed ??
| |
| Todd Kreuter 2005-11-18, 8:23 pm |
| Tom Gormley wrote:
>
> The way combo boxes display and accept data in dbase plus ver 2.6 has
> changed and is causing problems on forms originally with earlier versions.
>
> The combobox now seems to right align the field contents and if the Field
> lenght is longer than the maximum number of chars the first chars if the
> field are hidden.
In what circumstances does that happen? I have not seen any differences.
--
Todd Kreuter [dBVIPS]
| |
| Ken Mayer [dBVIPS] 2005-11-18, 8:23 pm |
| Tom Gormley wrote:
> The way combo boxes display and accept data in dbase plus ver 2.6 has
> changed and is causing problems on forms originally with earlier versions.
>
> The combobox now seems to right align the field contents and if the Field
> lenght is longer than the maximum number of chars the first chars if the
> field are hidden.
>
> Does any know why this has changed ??
Like Todd, I haven't seen this behavior ... more specifics would be useful.
Ken
--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/
*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/dbase/dBASEBook.htm
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase
| |
| Marko Mihorko [dBVIPS] 2005-11-20, 1:23 pm |
| Hello Tom!
"Tom Gormley" je napisal v sporočilo...
> The way combo boxes display and accept data in dbase plus ver 2.6 has
> changed and is causing problems on forms originally with earlier versions.
>
> The combobox now seems to right align the field contents and if the Field
> lenght is longer than the maximum number of chars the first chars if the
> field are hidden.
>
> Does any know why this has changed ??
I don't know if/why this has changed, however, a possible remedy follows. ;-)
As usual mark/copy/paste/save everything below to a file named f.e. <tom.wfm>
and later on doubleclick on it under the <Forms> tab of the <Navigator> window.
Then just navigate around by pressing the "Tab" key and/or by clicking on the
combobox objects. And I guess that the upper one is going to misbehave all the
time while the lower one is not going to (well, more or less ;-).
Marko Mihorko [dBVIPS]
set database to; close tables
if file('Tom_M.dbf'); drop table Tom_M
endif
create table Tom_M (whatever char(10))
insert into Tom_M values ('1234567890')
** END HEADER -- do not remove this line
//
// Generated on 20.11.2005
//
parameter bModal
local f
f = new tomForm()
if (bModal)
f.mdi = false // ensure not MDI
f.readModal()
else
f.open()
endif
class tomForm of FORM
with (this)
text = "Tom - Combox Box"
endwith
this.Tom_M1 = new QUERY()
this.Tom_M1.parent = this
with (this.Tom_M1)
sql = 'select * from "Tom_M.dbf"'
active = true
endwith
this.COMBOBOX1 = new COMBOBOX(this)
with (this.COMBOBOX1)
dataLink = form.Tom_m1.rowset.fields["whatever"]
left = 13.0
top = 5.0
endwith
this.COMBOBOX2 = new COMBOBOX(this)
with (this.COMBOBOX2)
onGotFocus = {; this.keyboard("{End}" + "{Shift+Home}")}
dataLink = form.Tom_m1.rowset.fields["whatever"]
left = 13.0
top = 7.5
endwith
this.rowset = this.Tom_m1.rowset
endclass
|
|
|
|