Forum Replies Created
-
AuthorPosts
-
mierlpParticipant
Hi
See attachment for demo project. This file also contains a test.sql file for the database.
How it works :
- Open project, compile and run
- Click on button OPEN TABLES
- Select row with value 1
- Click on the up arrow of the spinbox and set value to 2
- Click save button and value will be set back to 1
- Repeat it and set value to 3 or 4
- Click save button, value is now stored correctly
- Set value back to 1
- Modify value with dbcalcedit and set to 2
- Click save button, value is stored correctly
mierlpParticipantProperty TitleFont is also not working. If i set it to clRed is still shows black
If you use the Column Editor then normally you can set the font color for the
title…also that's not working
Or i'm doing something wrong…or it's a bug
mierlpParticipantHi
Yes skinned mode and skin is active
regards Peter
mierlpParticipantHi,
The purpose is you can select rows/records in combination
with multiselect. So if you mark several rows then you
can you put some action under a button for the selected rows.
You can something like :
Code:if SMDBGrid_Contact.SelectedRows.Count = 0 then begin
Application.MessageBox('There are NO rows/records selected.', 'Info', MB_OK+MB_ICONASTERISK+MB_DEFBUTTON1+MB_APPLMODAL);
end;
if SMDBGrid_Contact.SelectedRows.Count > 0 then begin
with SMDBGrid_Contact.DataSource.DataSet do begin
for i := 0 to SMDBGrid_Contact.SelectedRows.Count-1 do begin
GotoBookmark(Pointer(SMDBGrid_Contact.SelectedRows.Items));// Here you can excecute you're code)
end;
SMDBGrid_Contact.SelectedRows.clear;
dmTable_Contact.refresh;
end;
end;SMDBGrid is a freeware component : http://www.scalabium.com/
I would be a nice feature because dbgrids are often used within
applications.
mierlpParticipantHi,
I use Delphi XE7 and latest version of AlphaControls.
When i set the DrawStyle property it does NOT do the trick.
If i set it to Gradiënt and set gradiënt colors nothing happends
I don't know WHAT it should do…but on my site it's not working.
Regards Peter
mierlpParticipantHi
Sorry for the late reply..but was out for couple of weeks.
Well..i can give you an example but i found out the when
using a dbisam database it's NOT an issue…but using
a dbnavigator connected to mySQL (i use DevArt mySQL component)
then the problem appears.
The following combinations i tried:
– dbisam database + Raize dbnavigator – Works
– dbisam database + Alpha controls – Works
– dbisam database + Delphi standard controls – Works
– mySQL + Devart + Raize dbnavigator – Works
– mySQL + Devart + Alpha controls – Works NOT
– mySQL + Devart + Delphi standard controls – Works
Anyone the same problems ?
Regards Peter
mierlpParticipantYes…column header which now contains the tekst 'Naam / omschrijving'.
I would like to change it in a self to choose color.
mierlpParticipant:a3: yep…that works…thanks
mierlpParticipantSee attachment…contains test file incl source
mierlpParticipantSee attachement
mierlpParticipantWell…i think it's better to use as much as possible components from 1 suite/vendor
instead of using lot's off different third part vendors. Otherwise i have
to use the dbgrid from scalabium, some components from raize, then
the rest from alpacontrols, standaard components etc.
It's just a suggestion the extend the suite with usefull components/properties
Regards Peter
mierlpParticipantThere's another cosmetic thing….wen you set 'autoselect'=true
and when entering the field the autoselect will be done…BUT
at that point you do a insert of new value instead of overwrite
the selected values
The old value will remain…and the use of autoselect
is that you 'overwrite' the existing value
mierlpParticipantSolved… when clicking the arrow buttons the database will go in edit mode…that's good 🙄
BUT
… the value will not directly increase or decrease when you click the arrow buttons
You have to click them again will you increase/decrease the value….would be nicer when
it directly does this when clicking the arrow buttons..but that's for the next release
Regards Peter
mierlpParticipantsolved 🙄
mierlpParticipantSolved 🙄
mierlpParticipantDelphi XE6
-
AuthorPosts