FAQ Database Discussion Community


Panel BackColor setting color of it's controls

c#,control,panel,backcolor
I want to set the background color of the panel area only but it somehow also sets the background color of its controls, what's wrong with it? public Form1() { InitializeComponent(); Panel p = new Panel(); p.Size = this.ClientSize; p.BackColor = Color.Black; // The button will also have black background...

Having data virtualization in Unity3d UI panel

unity3d,panel
I have a UIpanel in my application and i instantiate gameobject in it programmatically during runtime, the problem i have is i have to create more than 1000 gameobjects (sometimes up to 6000) in that panel and that takes a long time freezing the UI and trying it with Coroutines...

one of several controls may be clicked but all have the same code

c#,winforms,events,click,panel
im doing a windows form on c#. I have a groupPanel1 and in it are 7 textboxes. Whenever i click on any textbox that is in the group panel, the button save (btnSave) outside the panel is enabled. Is there a way to have an array or create a custom...

How to create a scrollable panel of components in JavaFX?

javafx,panel,scrollpane
So, basically, I'm trying to achieve this a scrollable set of components with spacing etc. and the ability to add more components. The list of components are custom anchorpane components. Here's an example that I got working: The problem is that that uses a gridpane inside of a scrollpane and...

Not sure how to change panel to have display mode of overlay

jquery,html,css,overlay,panel
Sorry, i'm a beginner to all this but i'm not sure how to change it so that the panel will overlay (so it appears over the pages contents instead of pushing it to the side). i've tried changing the display to overlay instead of push or reveal but it still...

Anchoring controls within a panel

vb.net,winforms,anchor,panel
My form contains a panel which is used to add/dispose of several user controls (based on the selection of from the menustrip). Prior to using this panel to contain each user control, I could anchor and therefore resize each user control when the form resized. Despite the panel resizing correctly...

Did Domain Aliases removed from WebSitePanel(WSP) 2.0

panel
I install WebSitePanel 2.0 and every things seems ok but when i want to add a doman alias, there were no domain alias button like previous version. what happen to it. I read in wsp site that it removed from version 2.0 : " Removal of Domain Aliases System from...

ExtJS Displaying Panels on Combobox Select

extjs,combobox,panel,render
Ok, So I have defined 4 panels. Each panel has its own JS file. I call each of them in my main modal window via their alias. In my application I have this combobox. I want to display the panel depending on the selected item in the combobox. Here's my...

Adding a custom LOESS panel to lattice plot in R

r,panel,lattice,loess
I'm trying to create a custom LOESS panel function for my plot. Basically what it should do is the same as a simple panel.loess or type = "smooth". The reason is that later on I want to make it a bit more complicated with things that cannot easily achieved with...

Implementing control by control (not smooth) scrolling panel

c#,winforms,scroll,panel
I have a FlowLayoutPanel that contains User Controls from up to down with vertical scrollbar. Like any other scrollable control, I can scroll it pixel by pixel. Is there a way (.NET Framework or native API way) to scroll it User Control by User Control, in order to snap to...

Filtering for only complete sets of years

r,filtering,panel
I have data on yield organized by State and County. Out of this data I want to retain only those counties providing complete years between 1970 to 2000. The following code clears away some incomplete cases, however fails to omit all the cases- especially with a larger data set. The...

Android Menu coming from bottom like Google Drive

menu,panel,slidingdrawer
I have a floating action button and when the users taps on it I want a layout to be shown, animating from the bottom exactly like the Google Drive app (so not covering the whole screen). I read someone suggest the open source Umano's AndroidSlidingUpPanel but that is more similar...

How to calculate which item of panel was selected

c#,panel,counting
I'm programing a little C# program for browsing pictures, but I got stuck. I have a Panel full of PictureBoxes, is there any way to calculate number of the PictureBoxes that were clicked on? For example, if I have a ListBox I can easily type listBox1.SelectedIndex and get the number....

Should I use Panels to create boxed/gallery of summaries layout? (See picture)

html,css,twitter-bootstrap,panel
Hi I would like to create a page to render the above in a Bootstrap website that I'm currently working on. Would Bootstrap Panel's be the best approach to create this, I would have to override the border, horizontal rule, and background colours. I believe this would be easy...

Why do my images not display in my panels?

java,image,panel,frame
I want to set a background for my game. Scenario: First of all, I have to read from a text file, and then draw my tile map and images on it base on that texts. Second, my map is 3600*2400 pixels and it's larger than my screen so I have...

How to achieve the following in extjs

extjs,layout,header,panel
--Title------------------------------- | | | | | <Content> | | | |_____________________________________| How to achieve the above panel in extjs? Edit: It should look something like this: http://oi57.tinypic.com/eiw49.jpg...

wicket refresh listView in different panel using ajax

java,ajax,listview,wicket,panel
Hy guys I'm newbie in Wicket and I'm start playing this framework. I know will be a very useless example but I try to use that for learn wicket basics. This is my situation: I get a page IndexPage.java that is composed from basically 2 panel, the first one is...

Issue with Rad grid inside Rad Ajax panel row edit not firing

ajax,telerik,grid,panel
I'm facing a problem with Rad Gird inside Rad Ajax Panel First in kept my RadGrid inside asp:panel here is works fine <asp:Panel ID="Panel1" runat="server"> When i replace asp:panel with RadAjaxpanel edit and add buttons are not working Here is my code <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> </telerik:RadScriptManager> <telerik:RadAjaxPanel ID="div" runat="server" EnableAJAX="true"...

Disable Parallels Plesk Panel admin account

security,admin,panel,plesk,parallels
In Plesk Panel you have always an Administrator account with the username "admin". I did not find any setting to change the username to something else than "admin". I don´t like the idea that someone can try to login with the username "admin" until he find the correct password. Is...

wxpython How to change the values of widgets in other panel

widget,wxpython,panel
My frame was split in three panels, In PanelTwo, There is a TextCtrl, In PanelThree , There is a TextCtrl too, When I input something in the TextCtrl of PanelTwo, I need change the value of the TextCtrl in PanelThree, How to do it? # -*- coding: utf-8 -*- import...

react-bootstrap Accordion not collapsing with map

twitter-bootstrap,accordion,panel,reactjs,react-bootstrap
I have an array of items I would like to create Panels out of which would eventually be inserted into the Accordion. In one file, I have: var items = this.state.contents.map(function(content, index) { return <Content {...content}, key={index}/> }; return ( <Accordion> {items} </Accordion> ); In another file called Content I...

Card Layout Panel showing wrong panel - Java Swing

java,swing,panel,cardlayout
I want INIT_PANEL to be on top at first, and then (later) a button click will switch it to GAME_PANEL. But, GAME_PANEL is the top one when I run it... What am I doing wrong? Here's the important part of code: public class MainFrame extends JFrame { private JPanel contentPane;...

How to check where a Panel's Children come from?

wpf,panel,itemscontrol
I created a custom Panel, within which I need to check whether its Children are managed by manipulating the collection manually, or whether the panel is used as ItemsPanel for an ItemsControl. This to prevent the following exception from being thrown when trying to manipulate Children. Cannot explicitly modify Children...

How to move panels up/down on keysDown event in c#

c#,winforms,drawing,panel
I've 4 panels, having same Y and different X, that are created at the program start on a picturebox. When I click on a panel, it sets the focus and is ready to get a keysDown event so i.e. if I click on up arrow key the panel moves up....

Drawing on a panel but when adding it through another frame, nothing draws

java,user-interface,panel,draw
I'm working on a project and the general idea of my work is to do every part of it in a stand alone project, then add it when finished to the main project through libraries. My problem is - one part I have done was to perform a painting on...

form > .panel > .panel-body > form-group content is not inside the .panel-body

forms,twitter-bootstrap,panel
Here is my use case: I want to create panels inside a form in order to distinguish different criteria. My problem is that when I create a <div class="form-group"> inside my <div class="panel-body">, the content of the form-group goes out of its boundaries: in the screenshot, my checkboxes are out...

jQuery slide panel move content together with toggle

jquery,panel,slide
I need to make that toggle would move together with the panel. Tried almost everything but can't get it to work. Here is my fiddle. HTML <div id="toggle">Toggle</div> <div id="popout">content</div> jQuery (function($) { $('#toggle').toggle( function() { $('#popout').animate({ right: 0 }, 'slow'); }, function() { $('#popout').animate({ right: -250 }, 'slow'); }...

Losing styling on dynamic jquery mobile panel's collapsible div

jquery-mobile,panel,collapsable,jquery-mobile-collapsible
I'm opening a new page by clicking on a list item that appends data to a collapsible div inside an external panel. The first I open it, the styling stays on the collapsible div but if I go back and try to open another item, the styling is gone but...

open a form in a panel from a form inside that panel

c#,forms,panel
I want to open a form inside a panel, but I want to open that form from a form that is already inside that panel. example: the name of my panel is panel and I have 3 forms, form1, form2, form3. panel.Controls.Clear(); form2 myForm = new form2(); myForm.FormBorderStyle = FormBorderStyle.None;...

Opening facebook in a panel of winforms

c#,multithreading,facebook,panel,process.start
I am in need to open facebook(whatsapp,skype etc) with in a panel. please suggest something to achieve the same. I working on windows 7. If facebook is not possible then please suggest with whatever the task is possible whether with facebook messenger,whatsapp (site or app),skype or any other social networking...

Bootstrap 3 Panels not working in rails

ruby-on-rails-3,twitter-bootstrap,twitter-bootstrap-3,panel
I want create panels with Twitter Bootstrap in rails app. <div class="panel panel-default"> <div class="panel-heading">Panel heading without title</div> <div class="panel-body"> Panel content </div> </div> According to the official doc, we will get like this: but I just get the text. Panel heading without title Panel content Hope someone can help...

Refresh panel javascript on refresh

javascript,jquery,html,twitter-bootstrap-3,panel
I need to reload my panel contents via javascript. I have two sections in my web page: a) A list of products and b) A panel with product description. When user clicks on a product I display a panel which reads database information using php code using the variable I...

Verify which dynamically created Radiobutton is checked in C#

c#,dynamic,radio-button,panel,tablelayout
I am developing an application with multiple Panels (eight, to be precise) on one Form. In each Panel there are one TableLayoutPanel with three Radiobuttons (among of few other unimportant components). The Radiobuttons set the priority of the specific Panel's input (Priority 1, 2 and 3). I have no intention...

Bootstrap 3 Panels in responsive view

css,twitter-bootstrap,panel,responsiveness
I am using four panels in a layout, each full width. They stack nicely in sm and xs views as they should. I've set the panels to have no styling when in md and lg view sizes which works as it should. How would I get them to display collapsed...

Java get component dimension in constructor

java,panel
I have a Panel which needs to know its size inside the constructor: class Panneau extends JPanel { public Panneau() { super(); new Map(getSize()); } } Unfortunately, the size doesn’t seem to have been initialized yet and getSize() returns a Dimension with 0 for height and width. How to get...

Stata - panel data from column data

panel,stata,reshape
Panel data newbie here! I have data in Stata in the following format: Name Company1 Company2 Company3 Company4 Company5 Company6 1985 6.0781 2.4766 1.4258 2.6508 13.2083 1986 6.4844 3.0938 2.1953 3.1351 15.7917 1987 10.1563 .2769 5.7109 3.6406 4.4058 15.5833 1988 10.4688 .4219 5.125 3.75 3.6767 8.1667 1989 11.0625 .4289 5.4453...

Java CardLayout does not change Panel until unrelated loop is finished

java,panel,cardlayout
I created application which uses multiple panels, so I have chosen cardLayout. The thing is, when the following code gets executed, in the UserInterface method SinglePlayer() something weird happens. I use commands frame.add(fieldPanel, "card2"); and cardLayout.show(frame, "card2"); but when that code gets executed, my whole window gets black instead of...

How do you import a variable from the main actions panel to a class file?

class,flash,import,action,panel
I've searched long for this one, but nobody seems to give a clear answer. I'm a beginner, and I want to import a variable from the main "F9" actions panel into a class file so it can read it (example: in main .fla file, I have a variable var myNumber:Number...

Button Position in a panel with a scroll

jquery,css,asp.net,button,panel
I have a problem with the position of a button in a panel with a scroll please help here is the jsfiddle`` http://jsfiddle.net/0qy7L0zz/3/ <div id="New" class="modalPopup"> <p>dfssfddfdfdfsdfdf</p> <p>ddfssssssssssss</p> <p>dsfffffffffff</p> <p>sdffffffffffff</p> <p>dsffffffffff</p> <p>dsfffffffffff</p> <p>sdfffffffffffff</p> <p>dsfffffffffff</p> <p>dfsssssssssss</p> <button id="New"...

Loading delay extjs

javascript,extjs,panel,loading,mask
I have a panel within which I have two more panels. When you click on panel1 then information in panel2 is loaded. Since the information is quite huge there is some delay when its being loaded. During this interim period I wish to add a loading mask which intimates the...

Reload grid selection after deletion of row in extjs

extjs,grid,refresh,panel
I have a grid with one column, which when the user selects, is used to display information in various textfields, checkboxes which are embedded in a panel on the right. I have implemented a delete feature at the row level in the grid. Now I wish either of these two...

Stata overwrite all observations in cross section except last 20 non NA

panel,stata
I have a large strongly unbalanced panel in Stata, where each cross section only has a few observations, and the rest is NA (.). I want to overwrite all non NA observations that are not the last 20 non NA observations, in each cross section. I'm not sure how to...

Filter (no display) layers in GeoExt.LegendPanel using LIKE operator [closed]

filter,panel,openlayers,legend,geoext
This works to avoid Basemap layers such as Google Maps and overlays such as WMS to appear in the GeoExt Legend Panel: var legendPanel = new GeoExt.LegendPanel({ border: false, filter: function(record){ if(!(record.getLayer().isBaseLayer) && (record.getLayer() instanceof OpenLayers.Layer.WMS)){ return true; } } }); The problem is that I need to filter (ie....

C++ check which checkbox is checked in panel

c++,checkbox,c++-cli,panel
can someone please help me with the following problem. When I push the button I need to check which checkbox are checked in the panel. By default all checkboxes are checked. The idea is to have a vector that I store order number of the checkbox that is checked. Code...