473,652 Members | 3,059 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Windows Form UI Questions

Hi

1. Is it possible to force vertical scroll bar to display all the time in a
grdiview even if there are no records currently in dataview?

2. is it possible to group buttons on a toolbar such that if one is pressed
(selected), any other pressed button gets un-pressed (unselected).

Thanks

Regards
Jun 24 '07 #1
2 1072
1. This is counter intuitive. Why bother?

2. Yes. But, you have to write code to respond
in the Click event of buttonA to trigger the other
buttons.

--
Robbe Morris
EggHeadCafe.com
http://www.eggheadcafe.com/articles/..._generator.asp

"John" <Jo**@nospam.in fovis.co.ukwrot e in message
news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
Hi

1. Is it possible to force vertical scroll bar to display all the time in
a grdiview even if there are no records currently in dataview?

2. is it possible to group buttons on a toolbar such that if one is
pressed (selected), any other pressed button gets un-pressed (unselected).

Thanks

Regards
Jun 26 '07 #2
2. If you make them be Radiobuttons with Appearance set to Button
that might give you what you want.

On Sun, 24 Jun 2007 04:21:45 +0100, "John" <Jo**@nospam.in fovis.co.uk>
wrote:
>Hi

1. Is it possible to force vertical scroll bar to display all the time in a
grdiview even if there are no records currently in dataview?

2. is it possible to group buttons on a toolbar such that if one is pressed
(selected), any other pressed button gets un-pressed (unselected).

Thanks

Regards
Jun 26 '07 #3

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

Similar topics

3
336
by: ssc | last post by:
Hi friends, I wrote a Windows Form App "X" using #C.Net. This App "X" is installed in a Windows XP machine. Now I want to run this App "X" without the user having to log into the Windows XP machine. I think of a solution which is that I write a new auto-start windows service to run the app "X". will it work? Pls give me some advice coz I'm new to .NET. Thanks. ^_^ Cheers,
3
7020
by: Scott | last post by:
I have written windows applications using MFC for several years and have frequently used MFC techniques. Now I'm moving to C# .NET WinForm. Mostly C# books describes C# language (sometimes compared with C++) and then how to use Windows Forms but without comparison with MFC. Would you recommend any book or online stuff to guide migration from MFC/Win32 to Windows Forms to save time and effort to learn new environment. I realized that...
3
3312
by: James | last post by:
I have an picture cut out in a certain shape that I would like to make as my form. I have tried following the directions in MSDN on how to make shaped windows forms but their directions did not work for me. Does anyone know how I can set my irregular shaped picture as my form? Thanks for the help.
1
1872
by: Richard | last post by:
Hello MyMainWebPage.aspx contains MyUserControl.ascx MyUserControl.ascx has a DataTable Property MyDataTable
5
1487
by: eXtreme | last post by:
How do I make a dataset available to all forms (including dialogs) in a Windows Form based application? Thanks, eXtreme
5
1408
by: fernandez.dan | last post by:
Hi My question is how to change the view of my windows form. What I want to do is in my Windows Form is first ask the user some questions, when the user is done she pushes a button called next. Based on the input from the user, I would display the appropriate view on the form. I just don't how to do this. Should I create two panels(panel1 and
9
7077
by: Martin Ortiz | last post by:
I want to use the Win32 API function : SendMessageToDescendants I want to use it in a VB.Net app, but I have a few questions..... 1) Can one use Win32 API functions in VB.Net 2) Is doing so a "no no" 3) are VB.Net windows, underneath the covers, Win32 windows? and can be treated as such?
8
18637
by: Alison | last post by:
Hi, Al I am trying to design a user interface which provides both menus and toolbars for some users to click on whatever they want to do, at the same time, I would like to have a console window available in the same form for users to enter commands and display outputs if some prefer to use character based user interface. I would like to implement the user interface in vb .net. Now I have menus and toolbars ready, but do not now how to get a...
6
4796
by: Lakesider | last post by:
Dear NG, I want to create a dynamic questionnaire/survey application with .NET / C#. I want to ask questions and have several answer types: Yes/No, 1-10, list of answers, eg. "Dog", "Bird" and "Chicken" My very general question is: how would you design this? A user control for every question-type? How could you get the questions on one form? I really looking forward hearing your tips, tricks and ideas.
21
3338
by: Dan Tallent | last post by:
In my application I have a form (Customer) that I want to be able to open multiple copies at once. Within this form I have other forms that can be opened. Example: ZipCode. When the user enters a zipcode that is unknown this form will open. I don't want users to modify any of this customers data until they close the zipcode form. Normally this can accomplished using a modal form, however this prevents me from opening a new copy of...
0
8367
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8279
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8811
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8467
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8589
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7302
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5619
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4145
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4291
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.