similar to: wxGrid Question

Displaying 20 results from an estimated 400 matches similar to: "wxGrid Question"

2004 Jul 07
2
wxGrid Event handling work around?
Hi wxRuby gurus, I remember a while back, Zach Dennis was working on a mini Spreadsheet app using wxGrid when the issue of lack of wxGrid event handling was discussed. I think Kevin (or Assaph?) had suggested some workarounds until the Swig based version is out. Could not figure out from the archives exactly what the final resolution was, but I am stuck at the same spot and am desperately in need
2004 Apr 21
2
Resizing a ListCtrl
Hi Guys, I''m having serious troubles resizing a dialog with a ListCtrl. The ctrl will not resize horizontally no matter what I''m doing. I''ve attached a sample code below. Any help will be greatly appreciated, as I really like wxRuby :) I''ve also tried to copy from the example from listtest.rbw, but that also doesn''t seem to work. Another thing
2004 Nov 18
17
Wx::Grid Questions ...
I am trying to use a grid widget in my application, but run into a number of issues: -- Can they be placed in a panel? Or better yet, placed in sizer with other controls? I have only been able to place a grid inside a frame. -- Can you designate multiple rows (or columns) as being used for labels? -- Can you create cells that span cols (or rows)? -- What events are available to trigger on? How
2004 Dec 09
6
Scrolling to the bottom of a Grid
Hi, Thanks to the newly added event handlers for Wx::Grid in the 0.6.0 release, I can now provide a much slicker intreface to my "data widgets" which heavily rely on that control. However, I haven''t quite figured out how to programmatically scroll to the last row of a populated grid (actually, the first empty row). So say that I have a grid with 200 rows only 20 of which
2004 Jun 11
9
Handling Events that don''t take an ID
Hey Kevin, Am I correct in assuming that if I want a particular widget to respond to an event which doesn''t take an ID as an argument (like evt_size or evt_left_down), that I have to inherit a new widget and define the event handler within the inherited class? Here''s a little contrived code example to illustrate what I mean: class MyCtrl < Wx::TextCtrl def
2004 May 24
9
Combo Box
>> You really want to call get_value. Unfortunately, that''s not implemented >> in wxRuby 0.3.0. >I found to my surprise that this method is actually working, but only in the >example code that comes with wxRuby one-click install for Windows. @combo.get_label seems to work for me. See sample code below. HTH, Assaph ----- CODE ----- require ''wxruby''
2004 May 16
1
RE: wxGrid example
Kevin, should we check this in to CVS as one of the our distributed samples? Curt -----Original Message----- From: Shashank Date [mailto:sdate@everestkc.net] Sent: Sunday, May 16, 2004 4:30 PM To: wxruby-users@rubyforge.org Cc: curt@hibbs.com Subject: wxGrid example I am using the binary install of wxRuby 0.3.0 on WinXP(Home) I could not find an example of using wxGrid, so I
2004 Jun 19
4
FlexGridSizer question
=begin I am trying to understand how FlexGridSizer works and I have written a small test application using the latest wxRuby 0.4.0 on Win XP (Home). I cannot get static text ''Week'', ''Day'' and ''Date'' line up above the OK button. I have tried all combinations of ALIGN flags, but I either got the text sticking far too close to the left edge of
2008 Jan 14
4
Focus on TextCtrl
Hello. I have a problem with set focus on a TextCtrl in wxRuby. I must do something like Login TextCtrl and set focus on a next TextCtrl by clicking Tab key. -- Posted via http://www.ruby-forum.com/.
2009 Mar 19
6
xrc file and WxGrid
Has anyone any experience with using a XRC file that setsup a Wx::Grid? I''m using wxFormBuilder, in which I setup a grid in a boxsizer, with column names and all. But when I render it via Ruby the grid is just a small empty gray box, and I can''t seem to manipulate it at all. I tried adding columns, resizing columns, populating it with data, etc. but still nothing. I look at the
2004 Jun 10
2
Building wxruby-swig on WinXP
Sorry for the lameness, but I need things explained to me very slowly... -----Original Message----- Subject: RE: [Wxruby-users] wxGrid Question > > Yes, grab the latest tarball from the above location. Then, you should > install rubygems if you haven''t already: > http://rubyforge.org/projects/rubygems/ > > That should allow you to easily install rake: >
2006 Apr 07
3
Pointer position on keypress event?
Hi. Is there any straightforward way to tell pointer position (x, y) upon keypress? In original wxWidgets, wxKeyEvent supports GetX() and GetY() methods, but wxRuby''s KeyEvent object does not have one. I also checked with event.methods and event.instance_variables. Do I need to keep track of pointer position by evt_motion? -- Taisuke Yamada <tyamadajp@spam.rakugaki.org>,
2010 Mar 23
2
wxGrid merge cell
It''s possible merge two or more cell ??? ex: -------------------------------------- | LABEL 1 | LABEL 2 | LABEL 3 | -------------------------------------- | VALUE CELL MERGE | ANOTHER | -------------------------------------- | | | | -------------------------------------- Many Thanks Carlo Bertini www.waydotnet.com -- Posted via
2005 Aug 31
5
Re: event handlers for wxGrid
I got a warning from the list about the attachments being too big so I am not sure if the original went through. So here is a zip of the files. Sean On 8/30/05, Sean Long <sean.m.long@gmail.com> wrote: > I added all the event handlers for wxGrid. These patches also have > changes from my previous patches that have not been commited yet > (choicebook). wxGrid is actually getting
2004 May 22
10
Tabbing between Notebook pages
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: wxTony.rbw Type: application/octet-stream Size: 10436 bytes Desc: not available Url : http://rubyforge.org/pipermail/wxruby-users/attachments/20040522/9c1889d0/wxTony.obj
2004 Nov 22
1
Layout Issue ...
The following program represents the basic layout of my application. The problem I have is that the panel, and thus, the grid does not resize when the window width is expanded. Also, I would like the entire grid to be displayed without the horizontal scroll bar. How can I force this behavior? Please tell me if I am going about this incorrectly. I am just getting familar with wxRuby and any
2006 Feb 07
3
ActiveRecord for kirbybase?
I''ve found vague mentions of various attempts at creating an ActiveRecord adapter for the KirbyBase pure Ruby DBMS, but nothing which looks like it''s actually working. Anyone know of such an adapter that is functional and available? b
2006 Mar 24
9
Escaping characters
Hi, I am writing some help about post formatting. I am using redcloth to format the text, and in a FAQ, also formatted with redcloth, I explain what to type to what to obtain. So, how could I escape ''*'', ''#'' & Co, to have an output like <redcloth> Type *word* to obtain <strong>word</strong> </redcloth> I tried "Type
2004 Apr 26
7
TRW: getters and setters
Hi all, I mentioned this on the forum but wasn''t sure if anyone was paying attention. I was just wondering if it would be possible to replace the get_something/set_something style methods with the more Rubyish something/something= style (i.e. uniform access). For example, the Button class currently has button.get_label and button.set_label("foo"). It would give me warm,
2004 Aug 25
7
problem subclassing Wx::Menu
Hi folks I''m trying to make a class to make Wx::Menu easier for me to use and hide the constants and event-binding complexity. I''ve created a subclass of Wx::Menu, but whether I create my own append() method and call super(), or create a differently-named method and called append() from it, it seems to segfault. Sample attached, see line 20. Am I doing something stupid?