Jump to content


Photo

Few minor problems with grid in slide mode


  • Please log in to reply
90 replies to this topic

#41 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,194 posts
  • Gender:Male

Posted 04 December 2007 - 11:26 PM

Update: I will definitelly need to think more about this issue in next several days. Lock procedure may be good solution.

I will work on your demo to test this issue.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#42 Saurman

Saurman
  • Members
  • 44 posts

Posted 04 December 2007 - 11:30 PM

i think same situation occurs in my app. I fixed it by adding a timer, that can refresh grid max once per each 500 msec. When grid needs to be refreshed, i am triggering a flag and when timer fires, it checks for that flag and updates a grid if required. But still, sometimes iam getting that av (maybe 500msec is not enough for full draw).

Waiting for ur solution tongue.gif

#43 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,194 posts
  • Gender:Male

Posted 04 December 2007 - 11:35 PM

Hello Saurman,

TTimer is also some kind of TThread, but I definitelly need to change something in my Grid.

There is no problems where cell's data are changed but as you may see problems occur when rows are deleted/added.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#44 Saurman

Saurman
  • Members
  • 44 posts

Posted 05 December 2007 - 02:36 PM

boki, is it possible in slide mode, to draw text cell over image cell with transparent background?

#45 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,194 posts
  • Gender:Male

Posted 05 December 2007 - 03:03 PM

Hello Saurman,

I am not sure that I understand sad.gif

Can you please send me one small screenshot or sketch about what you try to archive?

Please don't forget that you may overlap cells in slide mode.

Best regrads
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#46 Saurman

Saurman
  • Members
  • 44 posts

Posted 05 December 2007 - 03:46 PM

well, here is a screen:


I want another text cell, to be drawn over the left big image (its img cell), but the drawn text should have a transparent background (i want kind of draw text over image)

#47 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,194 posts
  • Gender:Male

Posted 05 December 2007 - 03:55 PM

Hello Saurman,

Maybe settind DrawingOptions property of text Column to doCustomOnly. Then with using CustomDrawing (Tutorial), and TextOut command simply draw text.

I think that this should go. If you having troubles, I may made one sample.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#48 Saurman

Saurman
  • Members
  • 44 posts

Posted 05 December 2007 - 04:28 PM

hmm, maybe its better to have column Transparent property in slide mode?

#49 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,194 posts
  • Gender:Male

Posted 05 December 2007 - 04:38 PM

Hello Saurman,

I have this property in plan, but until it is added I suggest approach from previous post.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#50 Saurman

Saurman
  • Members
  • 44 posts

Posted 11 December 2007 - 01:28 AM

hey Boki, i have a small suggestion to slide mode. Would be good if slide could have two display modes. 1st mode - is just normal slide, like it is now. 2nd mode - completely another slide which will have a separate design window. This second slide type will override 1st style for selected grid row.

Here is a small example. Lets say u have grid in slide mode. Each slide shows some simple info from grid row. But when slide becomes selected, it will be displayed as a completely another slide which i will design in slide editor. So if i selecte slide, it might get new height and will show me more columns - kind of more detailed information for selected row.

so basically what i suggest is:
1) add flag to enable that mode
2) add slide 2nd style editor. 1st style editor u already have, so it shouldnt be a problem
3) selected slide will be displayed using second style, non-selected - using 1st style. Kind of "customized selected slide view". This will be usefull, when while not selected, row can show only basic info, but when u do select it - more detailed.

What to u think Boki?

#51 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,194 posts
  • Gender:Male

Posted 13 December 2007 - 12:35 PM

Hello Saurman,

I am sorry for delay, I was miss this post after I have open forum next time;

Idea is fine, but I will need to deep think about it and not sure that I will implement it. I will notify you if I decide to do with it, but again I can't promisse anything.

Thank you for this idea, waiting for other ideas too smile.gif

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#52 Saurman

Saurman
  • Members
  • 44 posts

Posted 25 December 2007 - 03:26 PM

Happy holidays boki smile.gif

How is our bug fixing process?

#53 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,194 posts
  • Gender:Male

Posted 26 December 2007 - 01:29 AM

Hello Saurman,

I am Orthodox Christian (where Christmas is on also on 25 December, but on old Christian calendar), but I wish happy holidays to you and all other members of this forum smile.gif

I will need a little bit more time on them. I will know more in next few days.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#54 Saurman

Saurman
  • Members
  • 44 posts

Posted 27 December 2007 - 02:57 PM

Hey Boki, one more thing i've just found. I am trying to print money sums in separate column i cant use number column because its based on TMask. I want to get result, similar to this:
CODE
ShowMessage(Format('Money = %m', [12345.678]));  //Money    = $12,345.68


Thats why iam using Text Column and format each value manually. But after that i cant use CalculateFooter, it doesnt recognize that value as float. Any solution?

#55 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,194 posts
  • Gender:Male

Posted 27 December 2007 - 03:15 PM

Hello Saurman,

I suggest using NumberColumn and set $ in TextBefore property of Column. Also, set FormatMask to desired mask (example: #,##0.00).

Then you will be able to use CalculateFooter.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#56 Saurman

Saurman
  • Members
  • 44 posts

Posted 27 December 2007 - 04:30 PM

well, it works for cells, but footer's FormatMask is messed up. It doesnt work in same way as in cells. I want the footer to print data in same format as cells


#57 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,194 posts
  • Gender:Male

Posted 27 December 2007 - 11:04 PM

Hello Saurman,

I think that you need to set Footer.FormatMaskKind to mkFloat.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#58 Saurman

Saurman
  • Members
  • 44 posts

Posted 28 December 2007 - 02:51 AM

it works, thx Boki smile.gif

Btw, is it possible to have such sort of header in grid?


TMS already have it i think, i saw it somewhere cant remember where happy.gif

#59 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,194 posts
  • Gender:Male

Posted 28 December 2007 - 02:46 PM

Hello Saurman,

This feature is planed, but please note that it will take a some big amount of time to implement all this.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#60 Saurman

Saurman
  • Members
  • 44 posts

Posted 19 January 2008 - 12:50 PM

Hey Boki, here is my problem.

I have a grid with over 2k rows. I am doing full update and this moves a position of the scrollbar and selecting. How can i restore last view of the grid (a range of the viewable rows before grid update) after update?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users