Welcome To Darwinbots > Newbie
Greetings From A DarwinBots Newbie...
TomTech71:
It helps if the interface is programmed to be friendly to the User...and maybe some instructions...
I got indication that a cutoff date for current update work development is upon us.
My first contribution was a bug-fix. This one is a feature enhancement.
In code comment, and on the forum, I see a desire for a better indicator for SunStatus. I desperately needed that as well.
Here is a simple, but very effective solution.
* Plant a PictureBox on the MDIForm. It will probably try to set just below the toolbar, which is great: That's where I want it.
MDIForm1 Form File Control Parameters:
============================================
Begin VB.MDIForm MDIForm1
Begin VB.PictureBox picSunStatus
Align = 1 'Align Top
BackColor = &H00FF0000&
BorderStyle = 0 'None
Height = 80
Left = 0
ScaleHeight = 75
ScaleWidth = 14295
TabIndex = 10
Top = 420
Width = 14292
End
End
==============================================
* In the Vegs.feedvegs Subroutine, place one line of code at the end of the routine. Ends up looking like:
==============================================
End If
Next t
getout:
MDIForm1.picSunStatus.BackColor = IIf(SimOpts.Daytime = True, &HFFFF&, &HFF0000) <++++++ ADDED LINE
End Sub
==============================================
What results is a thin color bar just below the toolbar, stretching the entire length of the parent form. Shows a dark (night) color when the sun is down, and yellow (obvious) when the sun is up. Is visible no matter what size and position the MDI form takes. Is not intrusive. Works Great For Me.
I'm very busy reverse-engineering this package (when I'm not busy just playing with it). I'm creating my own executable, descendants of the latest package, with enhancements and corrections for testing. I'm already enjoying using the software more with the changes I've made.
Tom
Botsareus:
That is kinda cool.
Love to see your entire mod.
What else are you working on?
Botsareus:
I may push that date a little as I still did not get IM working. It was planned for 15th
Numsgil:
If you'd like to take an active role in the development we can set you up with subversion write priveleges. Probably will do it as patches for the first few just to make sure you know what you're doing and that you can play nicely with other coders, and then after that you can have more freedom to do whatever.
Especially it sounds like Bots wants to wind down the time he spends doing proper dev stuff anyway in the nearish future, and it's better for the community if there's some amount of visible dev work going on.
MysticalDumpling:
Yay! A new programmer for db. Botsareus can't do it all! :D Wish I could help, but VB is far from my expertise...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version