Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-11

SearchResultsView Changes.

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner
to Bob Wingard: Changes to add Tabs to the searchresultsview form. I started messing around with…
Show quoted text 6 lines
Mattias, Changes to add Tabs to the searchresultsview form. I started messing around with highlighting the search term, but I think that I need to look at the listbox implementation first. It appears to be double drawing when you select owner drawn. One time for the normal update and one time for the owner drawn update.

That's right. It's not easy to tell the gtk_list to not draw items.

I still have not figured out how to run heaptrc on my system, I do not think I left memory leaks out there but have not been able to check. Tell me what you would like to see different, is this the right direction?

I would like to see the file searchresultsview.lfm.

Mattias

Reply by email

Bob Wingard

Mattias,
Changes to add Tabs to the searchresultsview form. I started messing around with highlighting the search term, but I think that I need to look at the listbox implementation first. It appears to be double drawing when you select owner drawn. One time for the normal update and one time for the owner drawn update. I still have not figured out how to run heaptrc on my system, I do not think I left memory leaks out there but have not been able to check. Tell me what you would like to see different, is this the right direction?

Bob

-------------- next part --------------
A non-text attachment was scrubbed...
Name: zip00044.zip
Type: application/octet-stream
Size: 6388 bytes
Desc: "SearchResults.zip"
Url : http://localhost/pipermail/lazarus/attachments/20031113/488fdf11/zip00044.obj

Reply by email

Bob Wingard
to Bob Wingard
Mattias Gaertner wrote 20 lines
On Thu, 13 Nov 2003 19:26:54 -0600 Bob Wingard wrote: > Mattias, > Changes to add Tabs to the searchresultsview form. I started messing > around with highlighting the search term, but I think that I need to > look at the listbox implementation first. It appears to be double > drawing when you select owner drawn. One time for the normal update and > one time for the owner drawn update. That's right. It's not easy to tell the gtk_list to not draw items. > I still have not figured out how to > run heaptrc on my system, I do not think I left memory leaks out there > but have not been able to check. Tell me what you would like to see > different, is this the right direction? I would like to see the file searchresultsview.lfm.

Whops! Sorry.

Show quoted text 7 lines
Mattias _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

object SearchResultsView: TSearchResultsView
CAPTION = 'SearchResultsView'
CLIENTHEIGHT = 224
CLIENTWIDTH = 803
ONCREATE = Form1Create
HORZSCROLLBAR.PAGE = 804
VERTSCROLLBAR.PAGE = 225
LEFT = 280
HEIGHT = 224
TOP = 389
WIDTH = 803
object ResultsNoteBook: TNOTEBOOK
ALIGN = albottom
ANCHORS = [aktop, akleft]
ONCLOSETABCLICKED = ResultsNoteBookClosetabclicked OPTIONS = [nboshowclosebuttons, nbomultiline]
HEIGHT = 184
TOP = 40
WIDTH = 803

  end
  object btnSearchAgain: TBUTTON
    ANCHORS = [aktop, akleft]
    CAPTION = 'Search Again'
    TABSTOP = True
    TABORDER = 1
    ONCLICK = btnSearchAgainClick
    LEFT = 8
    HEIGHT = 25
    TOP = 8
    WIDTH = 115
  end

end

{ This is an automatically generated lazarus resource file }

LazarusResources.Add('TSearchResultsView','FORMDATA',[ 'TPF0'#18'TSearchResultsView'#17'SearchResultsView'#7'CAPTION'#6#17'SearchRes' +'ultsView'#12'CLIENTHEIGHT'#3#224#0#11'CLIENTWIDTH'#3'#'#3#8'ONCREATE'#7#11 +'Form1Create'#18'HORZSCROLLBAR.PAGE'#3'$'#3#18'VERTSCROLLBAR.PAGE'#3#225#0#4 +'LEFT'#3#24#1#6'HEIGHT'#3#224#0#3'TOP'#3#133#1#5'WIDTH'#3'#'#3#0#9'TNOTEBOOK' +#15'ResultsNoteBook'#5'ALIGN'#7#8'albottom'#7'ANCHORS'#11#5'aktop'#6'akleft' +#0#17'ONCLOSETABCLICKED'#7#30'ResultsNoteBookClosetabclicked'#7'OPTIONS'#11 +#19'nboshowclosebuttons'#12'nbomultiline'#0#6'HEIGHT'#3#184#0#3'TOP'#2'('#5 +'WIDTH'#3'#'#3#0#0#7'TBUTTON'#14'btnSearchAgain'#7'ANCHORS'#11#5'aktop'#6'ak' +'left'#0#7'CAPTION'#6#12'Search Again'#7'TABSTOP'#9#8'TABORDER'#2#1#7'ONCLIC' +'K'#7#19'btnSearchAgainClick'#4'LEFT'#2#8#6'HEIGHT'#2#25#3'TOP'#2#8#5'WIDTH' +#2's'#0#0#0
]);

Reply by email