Questions tagged [panel]

A panel is a simple container that allows other elements to be placed into it, especially visual user interface elements.

A panel is a simple container that allows other elements to be placed into it, especially visual user interface elements. Panels can generally aid in developing more complex user interfaces.

4086 questions
1
vote
0 answers

CDockablePane doesn't save layout when it's docked to another pane

In an MFC application, I've got two derived CDockablePane pane objects docked to either side of the main view. Here is the code to create one of the panes. The second is similar. if(m_dlgPane && m_dlgPane->GetSafeHwnd()) { …
ali
  • 529
  • 4
  • 26
1
vote
2 answers

Hiding all panels on a web content form within a master page

I'm trying to hide all panels on a page, when a button click occurs. This is on a web content form, within a master page. The contentplageholder is named: MainContent So I have: foreach (Control c in Page.Form.FindControl("MainContent").Controls) { …
Jack Marchetti
  • 15,536
  • 14
  • 81
  • 117
1
vote
0 answers

Drawing behaviour with Graphics on java

I have this code: public class SomeNewLayer extends JLayeredPane{ public void paintGraphics(Graphics g){ super.paintComponent(g); g.setColor(Color.RED); g.fillRect(0, 0, 25, 250); } @Override public void…
Pfeiffer
  • 160
  • 15
1
vote
1 answer

Modal Popup Extender panel height width

I have a ajax asp.net modalpopupextender, I wont when I desplay popup, the popup cover all the browser window. The popup display a panel one is inside the form not other container. My .aspx code is: < asp:Panel ID="OptionPanel" runat="server"…
Harold Sota
  • 7,490
  • 12
  • 58
  • 84
1
vote
1 answer

WPF - Panel with expandable control for chopped elements

I have an application with minimizable controls. Minimized items are displayed in a horizontal stackpanel. On resize (shrink) of the application items could be chopped because of too little space. To avoid this my idea was to move chopped elements…
AgentS
  • 11
  • 2
1
vote
1 answer

C# disable windows scrollbar but enable custom scrollbar

I have a panel, a custom scroll bar and a problem. First : I need to use this custom scroll bar because it's for tablet PC and I need to add some features to this scroll bar. But my problem : The custom scroll bar is working, but I need to disable…
Phobie
  • 99
  • 2
  • 15
1
vote
1 answer

ExtJS setTitle() doesn't update the panel title

I have a panel as follows: Ext.define('TestPanel', { extend: 'Ext.panel.Panel', alias: 'widget.testPanel', id: 'testerPanel', title: 'oldTilte', //other code }); I have a controller of a different view where I wish to update the panel…
KavitaC
  • 635
  • 7
  • 29
1
vote
1 answer

Google Map pointers on click open jQuery Mobile panel weidget

I hope someone is able to help with this. Essentially what i'm after is if a user clicks a map pointer (using Google Maps) then it opens up a panel widget in association with jQuery Mobile. This is a snippet of the code for default linking. But this…
1
vote
1 answer

Change height of panel form javascript

Using JS Can get the height of an asp.net panel var test1 = $$('ViewFeatureProperties')[0].offsetHeight; if (test1<500) { //change height of panel to 275 $$('ViewFeatureProperties')[0].offsetHeight = 275px; } could get the value in test1, but…
John
  • 103
  • 1
  • 3
  • 11
1
vote
1 answer

Creating new variables based on two columns as index one column as new variable names python pandas or R

Please help me edit the title if there's a better phrasing once you read the question. I have data that looks like this: Location Date Item Price 12 1 A 1 12 2 A 2 12 3 A…
wolfsatthedoor
  • 7,163
  • 18
  • 46
  • 90
1
vote
2 answers

WPF UI structure with 4 divisions to fulfill screen resolution

I´m starting with WPF, and i want to make an application that fullfills all the screen and that adapts its contents to the screen resolution. It will be divided in 4 sections: At the top, a menu with a logo and some navigation buttons At the left a…
MorgoZ
  • 2,012
  • 5
  • 27
  • 54
1
vote
0 answers

mouseReleased() not called after adding component to a panel

I'm implementing my own drag-and-drop functionality, and I've reduced my problem to this: The code below works and will invoke mousePressed() and mouseReleased() as needed.However, if you uncomment frame.add(label), mouseReleased() is never…
user3533768
1
vote
1 answer

Scroll panel with image using keyboard (PageDown / PageUp)

What is right way to show large image in Winforms app with scroll-bars and keyboard scroll support? Currenty i'm use Panel(AutoScroll=True) with nested PitureBox (SizeMod = AutoSize). I have 2 question: 1) What control select for drawing…
likemusic
  • 198
  • 1
  • 8
1
vote
1 answer

ASP.NET Custom Control

I am building an ASP.NET Web User Control which has a panel within it. How do I make the Panel within the user control resizable (i.e. with handles) at design time in Visual Studio. I need to create a design class or something?? Thanks.
general exception
  • 4,202
  • 9
  • 54
  • 82
1
vote
1 answer

Panel not displaying all custom controls correctly

Not sure the best way to phrase the question but basically, I have a list of movies in my program and i have a custom control that represents each movie. The custom control looks like…