How do I place the label portion of a DevExpress CheckEdit control to the left of the checkbox?
If you go to the Properties of the CheckEdit and navigate to the special DevExpress Properties item. You will find a item called GlyphAlignment, set this to Far and the label will be on the left portion of the control
Related
I know this is a low level question, but I am "annoyed" that on my forms which are for read only purposes, i cannot figure out how to remove the drop down Arrow box on fields which are linked to a list of records..
Does anyone know if this can be done??
If you have a Lookup Field in Access and in the Design View of a form you drag it from the field list onto a form you'll get a Combo Box control. Combo Boxes have the little drop-down arrow tacked onto the end.
To get rid of the drop-down arrow simply replace the Combo Box control with a Text Box control. That is, create a Text Box control on the form and set its Control Source property to the name of the lookup field, then delete the Combo Box control. The Text Box control will display the selected value(s) of the lookup field but will not allow you to edit them.
There is an easier method than Gord Thompson's. This is in Access 2010 and may be applicable to other versions. In either Design or Layout View, right click on the combo box control and go to "Change To" then select text box.
I want to add a addtional value "ALL" into devExpress grid pager dropdown.Default display following setting
<PageSizeItemSettings Items="10,20,50,100" Visible="True">
</PageSizeItemSettings>
I want to add one addition value All into PageSizeItemSettings dropdown.When i clicked on All it should display all the table row. How can i do this?
I got the solution related display All option in pager.
I have 2 panels : left panel and right panel.
Left Panel - contents of a book...
Right Panel - consists of the content
User select any topic from left panel and display its content in right panel. For left panel I'm using repeater control. On right panel I have 2 button : next and previous.
My question is : How could I make the topic on the left panel selected when user clicks the next or previous buttons?
Instead of a repeater use the ListView control. This is basically a repeater with some extra functionality including the ability to set the SelectedIndex property.
I need to place a DevExpress combo edit where the drop-down is a TreeView. DevExpress has a bunch of partial explinations of this, but no complete source. Anyone have a sample?
The solution is to use a PopupContainerEdit control. To do this you also create a PopupContainerControl, put a TreeView in the PopupContainerControl (set to fill size) and then have the PopupContainerEdit.Popup point to the PopupContainerControl.
Full source at DevExpress combo box with a TreeView dropdown
I have a gridview that sets the AutoGenerateEditButton="true"
How can I set the width of the resulting column?
I don't know if you can set the width when the Edit button is auto-generated.
But you can set it if you add the CommandField.
Steps:
Set AutoGenerateEditButton back to false
Expand the GridView Tasks window using the funny little arrow button in the top right of the GridView
Select 'Edit Columns'
Expand the 'Command Field' node in the Available Fields list.
Select 'Edit, Update, Cancel' and then click the Add button
Make sure 'Edit, Update, Cancel' is selected in the Selected Fields list
Expand the 'ItemStyle' node in the CommandField properties list
Shazaam, there is your width property down near the bottom.
The Command buttons (edit, cancel, update) will still behave as if you had auto-generated them, you just get more control over the layout.
I believe that you don't have direct control over the column containing the edit button - because of the "AutoGenerate" in the property you are setting, it is rendered automatically.
An alternative is to set AutoGenerateEditButton="False", and define a column containing the Edit command button yourself. Then in the markup, you can set the width of that column yourself.