473,387 Members | 1,520 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Mimicing Eclipse in VB.net

I started as a VB6'er, moved to Java, and now I'm moving to VB.net (hey I
don't make these decisions; someone who makes way more money than I do
does).

One thing that I do like in the Java/Eclipse world is the notion of a
"perspective" within an app. Given a toolbar on the left hand side of the
GUI, if you click one you get a different "perspective" (representation) of
the data. It could be "coding" or "debug" or whatever. But the basic idea is
that within the same app you can shift "views" of the same data dependant on
the task at hand.

Anyways, like I said I'm only now moving to VB.net. I know that I can dock a
toolbar to the left of the main app window, but I'm wondering if the Panel
class will be basis for my "perspectives"? Can a Panel contain anything that
I want? Splitters (including nested ones), Images, Tabs, etc? The idea would
be, of course, that hitting a button in the toolbar on the left would
display the Panel/Perspective on the right.

I'm just learning the .net GUI and will keep learning it (at least until
"the powers the be" read the next article on CNN), but any guidance y'all
could provide would be greatly appreciated.

Thanks!


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.752 / Virus Database: 503 - Release Date: 9/3/2004
Nov 21 '05 #1
3 2464
James,

Yes a panel can contain all other controls (except the form I thought).

Have a look as well for the Dock and the Anchor properties.

When you are busy with panels keep in mind that they build them using the
Zorder (from the last to the first) that they are added to their parent
control.

I hope this helps?

Cor
Nov 21 '05 #2
* "James D Carroll" <ja***********@hotmaill.com> scripsit:
One thing that I do like in the Java/Eclipse world is the notion of a
"perspective" within an app. Given a toolbar on the left hand side of the
GUI, if you click one you get a different "perspective" (representation) of
the data. It could be "coding" or "debug" or whatever. But the basic idea is
that within the same app you can shift "views" of the same data dependant on
the task at hand.
There are different modes in VB.NET too. You can place the windows
either in design mode or debug mode.
Anyways, like I said I'm only now moving to VB.net. I know that I can dock a
toolbar to the left of the main app window, but I'm wondering if the Panel
class will be basis for my "perspectives"? Can a Panel contain anything that
I want? Splitters (including nested ones), Images, Tabs, etc?
Yes, the panel control is a container control.
The idea would be, of course, that hitting a button in the toolbar on
the left would display the Panel/Perspective on the right.


Maybe the best approach for this task is to design usercontrols for the
different "views" and instantiate these controls on your form
dynamically. If always the same controls should be shown, then storing
the position of the controls in different views in a separate
datastructure and moving them according to the selected view would be
the way to go.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #3

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote
Maybe the best approach for this task is to design usercontrols for the
different "views" and instantiate these controls on your form
dynamically. If always the same controls should be shown, then storing
the position of the controls in different views in a separate
datastructure and moving them according to the selected view would be
the way to go.

Hmm.... interesting. I'll keep that in mind. Something in me says that even
I "bundle" a perspective into a usercontrol, I still would drop in on a
panel anyways. But that's just me right now.

Thanks
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.752 / Virus Database: 503 - Release Date: 9/3/2004
Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Donovan | last post by:
Hello. I am interested in learning about and using the Eclipse framework and Java -- both of which are new to me. I have prior programming experience with VB.NET and c#.NET; but not Java. As...
4
by: junee | last post by:
I tried to develop php on eclipse installed are prerequisites but it didn't work help me, if any one experienced with it succeeded. it is 0.7 build help plz
16
by: Amir Michail | last post by:
Hi, It seems to me that measuring productivity in a programming language must take into account available tools and libraries. Eclipse for example provides such an amazing IDE for java that it...
0
by: Husey | last post by:
Hi, I am trying to create a very simple EJB project which requires me to create a new jboss configuration in Eclipse. I keep getting the error message "An error has occurred. See error log for...
16
by: Ananthu | last post by:
Hi I dont know how to connect mysql with ECLIPSE in RCP application. Please send me the sample code of connecting mysql sever with ECLIPSE in RCP application. Coding Part: RCP Application...
15
by: Ramon F Herrera | last post by:
I have been using Eclipse for a few weeks, and IMO there is no better IDE. Since my experience has been so productive -and hence satisfactory- in Java, I would like to use the same IDE...
0
by: Pesho318i | last post by:
hello, I'm writing in the Java forum, because I believe here I can find ppl comfortable with Eclipse. I'd like to install the PLDT plugin for Eclipse, but always run into compatibility...
7
by: R.A.M. | last post by:
Hello, I have started learning PHP5. I would like to programme in Windows XP and Fedora Linux. I have found two IDEs for PHP (if I understood correctly): - Eclipse PDT, - EasyEclipse for PHP....
3
by: ravit | last post by:
Hello All, I am trying to execute an application that is developed using eclipse libraries. Jface, SWT , etc. While I execute the application , i have received an exception which I am unable...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.