61 Solved Topics

Remove Filter
Member Avatar for Reverend Jim

I wanted to upvote another user's post. When I clicked on the upvote link I got a popup which stated "[user] currently has 537 reputation points. You have the power to influence pyTony's reputation by 4 points." I felt his assistance was worth more than one point but there was …

Member Avatar for Dani
0
148
Member Avatar for Reverend Jim
Member Avatar for Reverend Jim

Is anyone ever going to fix the dead link on [url]http://www.daniweb.com/community-center/daniweb-community-feedback/threads/10915[/url] with the label User Maintenance, General forum usage, Reading and posting messages. I would really like to find the guide that explains the finer points of the Daniweb user interface. I think this is it but it had been …

Member Avatar for Dani
0
339
Member Avatar for Reverend Jim

I thought I'd play around with vPython so I wrote a 3D breakout game (I used to have one on my Amiga and I haven't seen one for Windows). Everything is done except for one wee problem. I want to idle while waiting for the user to click the left …

Member Avatar for Reverend Jim
0
275
Member Avatar for Reverend Jim

I was doing a little playing around with some scrollbar controls and I noticed an odd behaviour that I was hoping someone could explain. I create three horizontal scrollbar controls, one for each primary colour. Possible values for each R, G or B are 0 to 255. When I set …

Member Avatar for Reverend Jim
1
214
Member Avatar for Reverend Jim

I have a textbox control for which I want to fit twelve double spaced lines of text so that the textbox is optimally filled (as little whitespace at the end as possible). So far the best I have come up with is [code] Dim fh As Integer = txtCategories.Height \ …

0
99
Member Avatar for Reverend Jim

I have two forms that are called by the main form. One is named frmEdit, and is invoked by the ShowDialog (modal) method. The other is named frmSearch and is invoked by the Show (non modal) method. In both cases I want to preserve the last window position so each …

Member Avatar for Reverend Jim
0
164
Member Avatar for Reverend Jim

I would appreciate a snippet of code for adding groups at run-time to a listview. I am currently listing books (and stats) without groups via the following code which is executed in a loop (one pass per book title). [code] item = New ListViewItem item.Text = seq.ToString item.SubItems.Add(Mid(titlenode.Nodes(N_CSTAT).Text, 3)) item.SubItems.Add(Mid(titlenode.Nodes(N_JSTAT).Text, …

Member Avatar for Reverend Jim
0
2K
Member Avatar for Reverend Jim

Am I missing something here? I am writing a game that requires some random number generation. I decided to use the System.Random class but I was getting strange results. The documentation says that if I have an instance of the class (let's call it r), the call r.Next(1,6) returns a …

Member Avatar for Reverend Jim
0
142
Member Avatar for Reverend Jim

I'm running Windows 7 Pro on a Dell Inspiron 1720. I have desktop slideshow enabled and pointed to a folder of my favourite pictures. Occasionally I will force a switch to the next picture from the desktop context menu item "Next desktop background" which appears between the "NVIDIA control panel" …

Member Avatar for Reverend Jim
0
315
Member Avatar for Reverend Jim

Can someone please fill in the missing line of code in OnPageChange? I have a notebook control and on a page change event, I want to retrieve the label of the tab that was just selected. GetLabel and GetLabelText both return '' [CODE] import wx import wx.lib.mixins.inspection class Frame(wx.Frame): def …

Member Avatar for Reverend Jim
0
1K

The End.