Search found 39 matches
- Thu Aug 08, 2019 1:27 am
- Forum: General Development
- Topic: WxGrid highlighting cells on hover not working as expected
- Replies: 5
- Views: 2337
Re: WxGrid highlighting cells on hover not working as expected
i was able to fix this by keeping track of the col_spans myself. i created a hash lookup for col_spans for each row, and seems to have worked lovely. thanks
- Tue Aug 06, 2019 11:21 am
- Forum: General Development
- Topic: WxGrid highlighting cells on hover not working as expected
- Replies: 5
- Views: 2337
Re: WxGrid highlighting cells on hover not working as expected
well i tried to implement this but it seems the function GetCellSize, GetCellAttr and $attr->GetSize are not supported by my version of wxperl. i do know citrus perl has a updated (on latest stable release 3.0.4). i think im going to download that and try again because something seems to be off with...
- Mon Aug 05, 2019 11:51 pm
- Forum: General Development
- Topic: WxGrid highlighting cells on hover not working as expected
- Replies: 5
- Views: 2337
Re: WxGrid highlighting cells on hover not working as expected
i am pretty positive that the version i am using is Wx-perl 0.69 and the actual wxwidgets version is 2.9.4 so its not to old. is there a resource somewhere that has a list of changes between each revision? i wish i could figure out how to compile them for activestate perl. there is a quick and short...
- Mon Aug 05, 2019 1:46 pm
- Forum: General Development
- Topic: WxGrid highlighting cells on hover not working as expected
- Replies: 5
- Views: 2337
WxGrid highlighting cells on hover not working as expected
First off, i am not sure if this is better off in general development, or if it needs to be in platform related issues so apologies in advance if i am in the wrong sub forum. the problem i am facing is, i have wrote a small function that highlights cells on hover... it works GREAT unless the cell sp...
- Mon Aug 05, 2019 1:18 pm
- Forum: General Development
- Topic: think ive found a bug in wxgrid
- Replies: 7
- Views: 2232
Re: think ive found a bug in wxgrid
yes that is what i did. ive been called alot of things, and dirty is def one of them
im now facing a different issue, with GetCellSize, now. apparently ity is not supported/built into the lib i am using. ill make a new thread and explain the problem.
im now facing a different issue, with GetCellSize, now. apparently ity is not supported/built into the lib i am using. ill make a new thread and explain the problem.
- Sun Aug 04, 2019 3:00 pm
- Forum: General Development
- Topic: think ive found a bug in wxgrid
- Replies: 7
- Views: 2232
Re: think ive found a bug in wxgrid
all it is, is a frame with a panel. grid on the first panel, then another panel with a grid on it on the first panel. the reason for this is to hide the scrollbars out of sight. im pretty sure it can be done other ways, but this is the way i went with it because i can easily customize the "fake...
- Sat Aug 03, 2019 7:39 pm
- Forum: General Development
- Topic: think ive found a bug in wxgrid
- Replies: 7
- Views: 2232
Re: think ive found a bug in wxgrid
https://imgur.com/a/yhPWQuX EDIT: https://youtu.be/5O8Qq0BlETs?t=46 - (turn down your volume) notice that the scrollbar stops/doesnt scroll unless i resize the 'fake' column label. once i do that (at 1:16 in the video), i can scroll all the way to the end of the grid. also, i forgot to mention that...
- Sat Aug 03, 2019 3:56 pm
- Forum: General Development
- Topic: think ive found a bug in wxgrid
- Replies: 7
- Views: 2232
think ive found a bug in wxgrid
i created a frame of a set size. on this frame i set a panel of default position and default size. i placed a grid to fill up the window and then set the column/row label sizes to 0. added another panel on top of the first panel with a height thats just enough to fill where the col labels should go ...
- Sat Aug 03, 2019 12:03 pm
- Forum: Platform Related Issues
- Topic: wxgrid scroll events do not work on ubuntu?
- Replies: 11
- Views: 2462
Re: wxgrid scroll events do not work on ubuntu?
updated my original post
- Thu Aug 01, 2019 10:29 pm
- Forum: Platform Related Issues
- Topic: wxgrid scroll events do not work on ubuntu?
- Replies: 11
- Views: 2462
Re: wxgrid scroll events do not work on ubuntu?
EVT_SCROLLWIN_LINEUP( $grid, sub { scroll_event( $_[1], 'grid 1 up', $grid, $grid2 ) } ); EVT_SCROLLWIN_LINEDOWN( $grid, sub { scroll_event( $_[1], 'grid 1 down', $grid, $grid2 ) } ); EVT_SCROLLWIN_LINEUP( $grid2, sub { scroll_event( $_[1], 'grid 2 up', $grid, $grid2 ) } ); EVT_SCROLLWIN_LINEDOWN( ...
- Thu Aug 01, 2019 1:47 pm
- Forum: Platform Related Issues
- Topic: wxgrid scroll events do not work on ubuntu?
- Replies: 11
- Views: 2462
Re: wxgrid scroll events do not work on ubuntu?
@PB you have to excuse me when i say this, but i after reading your comments i am still not sure, because in your example you show me the difference in EVT_SCROLL and EVT_SCROLLWIN. i do appreciate this but the main cause for my concern is... EVT_SCROLLWIN is not working on linux/ubuntu. after readi...
- Wed Jul 31, 2019 3:04 pm
- Forum: Platform Related Issues
- Topic: wxgrid scroll events do not work on ubuntu?
- Replies: 11
- Views: 2462
Re: wxgrid scroll events do not work on ubuntu?
no i did not see your post until now. i see that it is not intended to work on linux. thanks for telling me. how would a person be able to capture scroll events on linux with wxgrid then? thats the problem in the end anyway, i need to be able to sync the grids scrolling on linux. what would be the b...
- Wed Jul 31, 2019 1:54 pm
- Forum: Platform Related Issues
- Topic: wxgrid scroll events do not work on ubuntu?
- Replies: 11
- Views: 2462
Re: wxgrid scroll events do not work on ubuntu?
the scroll events work fine on win32. but in ubuntu/linux the scroll events are not firing. here is how i have set it up, and like i said it works fine on windows, but i am testing for cross compatibility. should i be using connect or bind for linux/ubuntu? #thought this was ubuntu/linux events but ...
- Wed Jul 31, 2019 2:48 am
- Forum: Platform Related Issues
- Topic: wxgrid scroll events do not work on ubuntu?
- Replies: 11
- Views: 2462
wxgrid scroll events do not work on ubuntu?
same grid and events work fine on win10 64bit. and the gui itself works fine on ubuntu, but it cannot process EVT_SCROLLWIN_LINEUP and EVT_SCROLLWIN_LINEDOWN. is this possible on anything other than win32? EDIT: i just realized i had a typo in my original question. changed EVT_SCROLL to EVT_SCROLLWIN
- Sat Jul 27, 2019 5:56 pm
- Forum: C++ Development
- Topic: wxPerl - custom grid renderer
- Replies: 19
- Views: 1690
Re: wxPerl - custom grid renderer
i agree, its just the doc for wxperl is very sparse. and translating some things from c++ to perl is slightly harder than trivial, for me atleast. i am sure a perl guru could do it easily, but atleast this way i am learning instead of just copying and pasting ;) by the time i am done this will be a ...