Questions tagged [programmatically-created]

Any object in an application created using a computer program rather than created manually using something in the userspace.

General Definition

Any object in an application created using a computer program rather than created manually using something in the userspace.

GUI Elements

In general, elements are declared in inside their accompanying tags in / files or in any other derivatives ( , , , , , and many others).

Programmatically created are those elements that are coded in contexts that need to be compiled to take effect at . They could be created at by a click of a as an example, where they would be coded inside a click listener for that .

438 questions
2
votes
1 answer

Drupal 7 programmatically submit data to webform

I have a webform on a Drupal site to which I need to post data programmatically using the following code: // Get the node ID of the created Webform and load the node. $node = node_load($nid); global $user; $uid = $user->uid; // Include…
sisko
  • 9,604
  • 20
  • 67
  • 139
2
votes
1 answer

Programmatically connecting multiple views set to any size using ConstraintLayout

I'm using ConstraintLayout beta4 and trying to create a horizontal chain across the screen programmatically. The problem I'm running into is when I connect multiple views together in a chain across the screen (ex: Left side of layout <-> leftButton…
2
votes
2 answers

How to add webview programmatically

I had a problem when you want to add webview in programmatically I've tried like this, but webview can not appear when the button was already able to appear I need a solution to this case // sizeView LinearLayout.LayoutParams…
2
votes
1 answer

Add MahApps.Metro Context Menu programmatically

since I am loading dynamic content into a StackPanel I would like to add a ContextMenu on each Object. Right now I am doing it with System.Windows.Controls.ContextMenu and it's working. Unfortunately the Menu looks like in an old Window form and not…
Cluster2a
  • 65
  • 2
  • 6
2
votes
1 answer

tinyMCE how to unselect selected area

Im working with tinyMCE 4.x and would like to remove ANY set format in the whole editor text programmatically. It just should do what the removeFormat command does. So far I came: tinymce.execCommand('selectAll', true,…
Jonny
  • 816
  • 10
  • 24
2
votes
1 answer

AutoLayout programmatically doesn't work

I want to go into the depths of auto layout and so I want to do it programmatically in order to understand it properly.I know how to use it through storyboard pretty well.Now here is what I am doing(in viewDidAppear:) -(void)scenario2{ PGView…
Reckoner
  • 1,041
  • 2
  • 13
  • 29
2
votes
1 answer

How to hide other apps in Android?

I am going to write a project that can hide another apps. I do research and find some useful code and it work well to hide my app. You can see my code below: PackageManager pm = getPackageManager(); …
Nara Na
  • 101
  • 1
  • 2
  • 10
2
votes
0 answers

Programmatically scroll RecyclerView vertically

I want to programmatically scroll a RecyclerView, is it possible to do something like this? I have the following code in a custom RecyclerView in order to dispatch a scrolling event, but I am stuck in figuring out a mock MotionEvent: public boolean…
AndyRoid
  • 5,062
  • 8
  • 38
  • 73
2
votes
1 answer

VB6 - Create subMenuItems programmatically

I'm working in a VB6 project and there is an existing menu, created with the menu creator. I am having trouble to insert subMenu programmatically in a MenuItem. The first menu is File. It contains two menu items : Choice and Exit. I would like to…
nbadaud
  • 694
  • 7
  • 26
2
votes
1 answer

WPF Programmatically add DataGridTextColumn with DataTrigger

I have a DataGrid that is made of dynamically by the user. That means each time it runs the columns could and will be very different. Each column is programmatically added for that reason. I need to add some DataTriggers to it so figured this…
user2891892
2
votes
1 answer

Create local folder programmatically in MeteorJS

Is there a way to create local folder in JavaScript using MeteorJS? PS: App is hosted on Ubuntu server.
eomeroff
  • 9,599
  • 30
  • 97
  • 138
2
votes
2 answers

Container View Controller Programmatically

I have been researching this for a while but can't quite find what I need. I would like to learn how to create a container view with a child view controller programmatically. I'm still fairly new to this and learning the basics, but from what I…
2
votes
1 answer

Programmatically loaded composite disappear elements after postback

In my project I'm adding programmatically a composite component to a primefaces p:panel, as described here: How to programmatically or dynamically create a composite component in JSF 2 . This is the composite component:
Dan M
  • 315
  • 2
  • 14
2
votes
1 answer

datagridcomboboxcolumn binding in code

I'd like to do this entirely in code, no XAML: Given are DataGridComboBoxColumn myDGCBC = new DataGridComboBoxColumn(); ObservableCollection DataSource = new ObservableCollection{"Option1", "Option2"}; myDGCBC.ItemsSource =…
2
votes
0 answers

Jar progmmatically vs jar via cmd

I'm trying to create working .jar file programmatically. Firstly, I generate .class file and then put it into my JarEntry like this: FileOutputStream stream = new FileOutputStream(jarFile); JarOutputStream output = new JarOutputStream(stream,…