mierlp

Forum Replies Created

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • in reply to: Problem with DBspinEdit #55057
    mierlp
    Participant

    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
    in reply to: DBGrid Column header background #54156
    mierlp
    Participant

    Property 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

    in reply to: DBGrid Column header background #54132
    mierlp
    Participant

    Hi

    Yes skinned mode and skin is active

    regards Peter

    in reply to: DBGrid Checkbox select #54052
    mierlp
    Participant

    Hi,

    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.

    in reply to: DBGrid Column header background #54051
    mierlp
    Participant

    Hi,

    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

    in reply to: DBNavigator buttons on empty table #53246
    mierlp
    Participant

    Hi

    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

    in reply to: How To : Change background color column dbgrid #52876
    mierlp
    Participant

    Yes…column header which now contains the tekst 'Naam / omschrijving'.

    I would like to change it in a self to choose color.

    in reply to: How To: Make selected rows more visible #52780
    mierlp
    Participant

    :a3: yep…that works…thanks

    in reply to: How To: Make selected rows more visible #52776
    mierlp
    Participant

    See attachment…contains test file incl source

    in reply to: How To: Make selected rows more visible #52768
    mierlp
    Participant

    See attachement

    in reply to: Suggestion…DBImage #52447
    mierlp
    Participant

    Well…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

    in reply to: DBDecimalSpinEdit NOT in edit mode…bug? #52362
    mierlp
    Participant

    There'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

    in reply to: DBDecimalSpinEdit NOT in edit mode…bug? #52356
    mierlp
    Participant

    Solved… 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

    in reply to: DBCHECKBOX values #52355
    mierlp
    Participant

    solved 🙄

    in reply to: DBNavigator buttons…strange bitmap #52354
    mierlp
    Participant

    Solved 🙄

    in reply to: DBNavigator buttons…strange bitmap #52338
    mierlp
    Participant

    Delphi XE6

Viewing 16 posts - 1 through 16 (of 16 total)